diandiand163 Posted May 14, 2016 Share Posted May 14, 2016 (edited) 我是中国人,不会英文 ,但很喜欢AUTOIT,希望我的问题能得到大家的帮助。 等待要提取的文 字:“关键词组合”,用 _FFXPath 取值如下: Local $title = _FFXPath(".//*[@id='form1']/div[3]/div/div[2]/div[1]/table/tbody/tr/td[12]/text()[2]","textContent",2) 得到 $title的值 为乱码: "鍏抽敭璇嶇粍鍚? " ,继续 ,转化二进制到字符串UTF8 Local $out = (BinaryToString(StringToBinary($title, 1), 4)) 得到的值: "关键词组�? " ,字符缺失,依然有乱码。。。 帮帮我,怎么解决? Edited May 14, 2016 by diandiand163 Link to comment Share on other sites More sharing options...
water Posted May 14, 2016 Share Posted May 14, 2016 Most people on this forum speak English. As all other posts by you have been in English too I assume you posted in the wrong forum My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Developers Jos Posted May 14, 2016 Developers Share Posted May 14, 2016 As also stated in the other post you made... English please: Quote I am a Chinese, not English, but it is like AUTOIT, I hope the problem can get help. Wait to extract text: "keyword combination" with _FFXPath values are as follows: Local $title = _FFXPath(".//*[@id='form1']/div[3]/div/div[2]/div[1]/table/tbody/tr/td[12]/text()[2]","textContent",2) Get $ title value garbled: "? Yang Xuan Qu Wei pumping expendable Elsie" and continue the conversion to binary strings UTF8 Local $out = (BinaryToString(StringToBinary($title, 1), 4)) The resulting values: "keyword group?" Character is missing, there are still garbled. . . Help me, how to solve? Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
diandiand163 Posted May 15, 2016 Author Share Posted May 15, 2016 等待高手解决下。。。 Link to comment Share on other sites More sharing options...
diandiand163 Posted May 15, 2016 Author Share Posted May 15, 2016 高手都在干嘛,为什么没来解决啊? Link to comment Share on other sites More sharing options...
Developers Jos Posted May 15, 2016 Developers Share Posted May 15, 2016 2 hours ago, diandiand163 said: Wait for the experts to solve next. . 2 hours ago, diandiand163 said: Masters are doing, why not to solve ah? Waiting for you to start typing English even when you use Google translate. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
diandiand163 Posted May 24, 2016 Author Share Posted May 24, 2016 I am a Chinese, not English, but it is like AUTOIT, I hope the problem can get help. Wait to extract text: "keyword combination" with _FFXPath values are as follows: Local $title = _FFXPath(".//*[@id='form1']/div[3]/div/div[2]/div[1]/table/tbody/tr/td[12]/text()[2]","textContent",2)Local $out = (BinaryToString(StringToBinary($title, 1), 4)) The resulting values: "keyword group?" Character is missing, there are still garbled. . . Help me, how to solve? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now