Jump to content

Please help me


Recommended Posts

我是中国人,不会英文 ,但很喜欢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
Link to comment
Share on other sites

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:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.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 (NEW 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

 

Link to comment
Share on other sites

  • Developers

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

  • Developers
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

  • 2 weeks later...

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

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
 Share

  • Recently Browsing   0 members

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