创世魂 发表于 2022-9-4 19:51 搜嘎,好的 |
http://doc.voldp.com/e_To_vol/index.html 易语言到火山入门教程。。多刷刷教程看看。。 |
飞扬工作室 发表于 2022-9-4 17:34 好的,大佬 |
Xelloss0618 发表于 2022-9-4 16:06 谢谢啦,小哥哥 |
注意文本是 unicode 编码 |
文本编码不同,肯定找不到啊,易语言文本型的编码是ANSI,火山是UTF-16LE 你自己必须判断编码并做相应的转换 火山支持转义符 \,所以 \ 必须填 \\,但相应的换行符可以直接用 \r\n,引号可以用 \",而无需像易语言那样必须用常量#换行符和#引号 |
wtuauwfn 发表于 2022-9-4 13:10 哦哦,谢谢啦,我用易语言得心应手,这个火山真麻烦,一样的代码居然不行,路径一定要\\吗? |
本帖最后由 wtuauwfn 于 2022-9-4 13:14 编辑 z692435632 发表于 2022-9-4 13:08 看你就用错编码了 寻找字节集 (读入的文件, 文本到UTF8 ("15979471034", 假), ) |
<字节集> 总共 4096 个字节,输出了 1024 个,还有 3072 个未被输出. [00000000]: 59 02 00 00 65 26 6B 65 79 5F 73 61 76 65 64 5F | Y...e&key_saved_ [00000010]: 73 65 6E 64 5F 79 7A 6D 5F 73 75 63 63 65 73 73 | send_yzm_success [00000020]: 66 75 6C 6C 79 5F 6D 6F 62 69 6C 65 3D 3C 5B 7B | fully_mobile=<[{ [00000030]: 22 61 22 3A 31 36 36 32 31 33 32 33 36 32 30 34 | "a":166213236204 [00000040]: 38 2C 22 62 22 3A 22 31 35 39 37 39 34 37 31 30 | 8,"b":"159794710 [00000050]: 33 34 22 2C 22 63 22 3A 22 22 2C 22 64 22 3A 22 | 34","c":"","d":" [00000060]: 22 2C 22 65 22 3A 22 22 7D 5D 2A 6B 65 79 5F 73 | ","e":""}]*key_s [00000070]: 61 76 65 64 5F 70 72 65 76 69 6F 75 73 5F 6C 6F | aved_previous_lo [00000080]: 67 69 6E 5F 61 63 63 6F 75 6E 74 5F 69 6E 66 6F | gin_account_info [00000090]: 5F 35 34 33 30 C6 03 C4 03 7B 22 39 37 31 35 31 | _5430....{"97151 [000000A0]: 30 37 38 31 32 34 30 34 22 3A 7B 22 61 76 61 74 | 07812404":{"avat [000000B0]: 61 72 22 3A 22 68 74 74 70 73 3A 2F 2F 61 76 61 | ar":"https://ava [000000C0]: 74 61 72 32 2E 70 64 64 70 69 63 2E 63 6F 6D 2F | tar2.pddpic.com/ [000000D0]: 61 2F 51 30 5A 4E 64 54 51 77 63 43 74 50 4E 48 | a/Q0ZNdTQwcCtPNH [000000E0]: 45 79 57 46 55 35 57 6A 5A 33 4D 58 6F 77 54 44 | EyWFU5WjZ3MXowTD [000000F0]: 6C 56 5A 6C 4E 42 57 58 68 73 4F 45 6C 61 55 54 | lVZlNBWXhsOElaUT [00000100]: 30 39 64 6A 41 30 2D 31 36 35 39 32 34 32 37 33 | 09djA0-165924273 [00000110]: 38 3F 69 6D 61 67 65 4D 6F 67 72 32 2F 74 68 75 | 8?imageMogr2/thu [00000120]: 6D 62 6E 61 69 6C 2F 32 30 30 78 22 2C 22 6E 69 | mbnail/200x","ni [00000130]: 63 6B 5F 6E 61 6D 65 22 3A 22 E6 98 9F E7 82 B9 | ck_name":"...... [00000140]: E6 95 99 E8 82 B2 22 2C 22 6C 6F 67 69 6E 5F 61 | ......","login_a [00000150]: 70 70 5F 69 64 22 3A 35 2C 22 6C 61 73 74 5F 61 | pp_id":5,"last_a [00000160]: 63 74 69 76 65 5F 74 69 6D 65 22 3A 31 36 36 32 | ctive_time":1662 [00000170]: 31 33 32 34 34 39 30 30 38 2C 22 6D 6F 62 69 6C | 132449008,"mobil [00000180]: 65 5F 69 64 22 3A 22 33 34 34 32 36 35 30 35 34 | e_id":"344265054 [00000190]: 38 37 35 34 38 30 30 36 34 30 30 33 34 22 2C 22 | 8754800640034"," [000001A0]: 6D 6F 62 69 6C 65 5F 64 65 73 22 3A 22 31 35 39 | mobile_des":"159 [000001B0]: 2A 2A 2A 2A 31 30 33 34 22 2C 22 63 68 61 6E 67 | ****1034","chang [000001C0]: 65 5F 6C 6F 67 69 6E 5F 74 79 70 65 22 3A 32 2C | e_login_type":2, [000001D0]: 22 75 69 64 22 3A 22 39 37 31 35 31 30 37 38 31 | "uid":"971510781 [000001E0]: 32 34 30 34 22 2C 22 75 69 6E 22 3A 22 43 55 54 | 2404","uin":"CUT [000001F0]: 33 4B 56 50 52 43 4E 4D 57 51 55 4F 56 57 4E 32 | 3KVPRCNMWQUOVWN2 [00000200]: 4A 46 57 51 37 42 4D 5F 47 45 58 44 41 22 2C 22 | JFWQ7BM_GEXDA"," [00000210]: 61 63 63 65 73 73 5F 74 6F 6B 65 6E 22 3A 22 50 | access_token":"P [00000220]: 36 36 57 44 55 4D 4D 4C 4E 56 33 45 51 59 53 58 | 66WDUMMLNV3EQYSX [00000230]: 51 54 5A 42 32 36 57 5A 46 32 53 4E 59 4E 54 46 | QTZB26WZF2SNYNTF [00000240]: 4D 33 57 53 50 53 33 42 52 56 36 35 5A 4B 46 5A | M3WSPS3BRV65ZKFZ [00000250]: 47 4C 41 31 31 30 33 34 33 34 22 7D 7D 00 00 00 | GLA1103434"}}... [00000260]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000270]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000280]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000290]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000002A0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000002B0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000002C0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000002D0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000002E0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000002F0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000300]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000310]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000320]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000330]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000340]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000350]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000360]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000370]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000380]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [00000390]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000003A0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000003B0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000003C0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000003D0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000003E0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ [000003F0]: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................ 文件路径 = 取运行目录 () + "文件接收目录\\login" 要发送的文件 = 读入文件 (文件路径) 调试输出 (要发送的文件) 调试输出 (寻找字节集 (要发送的文件, 文本到字节集 ("15979471034"), 0))返回-1 读取字节集是没问题,就是寻找字节集阳痿,怎么办 |
|Archiver|手机版|小黑屋|递归火山软件开发平台 ( 鄂ICP备18029190号 )
GMT+8, 2024-11-24 17:51 , Processed in 0.093491 second(s), 22 queries .
Powered by Discuz! X3.4
© 2001-2017 Comsenz Inc.