Jump to content

Recommended Posts

Posted (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 by diandiand163
Posted

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 :huh:

My UDFs and Tutorials:

  Reveal hidden contents

 

  • Developers
Posted

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
Posted
  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.
  :)

  • 2 weeks later...
Posted

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?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...