diandiand163 Posted May 14, 2016 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
water Posted May 14, 2016 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: Reveal hidden contents UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
Developers Jos Posted May 14, 2016 Developers 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? Expand 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.
Developers Jos Posted May 15, 2016 Developers Posted May 15, 2016 On 5/15/2016 at 5:31 AM, diandiand163 said: Wait for the experts to solve next. . Expand On 5/15/2016 at 5:34 AM, diandiand163 said: Masters are doing, why not to solve ah? Expand 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.
diandiand163 Posted May 24, 2016 Author 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?
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