Jump to content

unicode string in object methods


 Share

Recommended Posts

Hello!

I'm trying to manipulate with programm with com-interface. averything is OK, but this awful programm uses methods and objects in non-english unicode language (Russian).

so in autoit I can't use methods like

$t=$group.ПользователиГруппы.add()

because compilator error.

may be exists some methods? for example in vbs I can use non-english methods in square brackets, in C++ exist OlePropertyGet, in python - getattr and setattr, js works well with unicode strings..

thanks for any help, and sorry for bad english=)

 

Link to comment
Share on other sites

AutoIt of course supports this. The problem could be outdated version of the interpreter. What's the version of AutoIt you run your code with?

It could also be Au3Check issue, in which case the solution would be to simply disable that (bad) tool.

There is nothing wrong with your code, and it should run just fine.

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

Maps from the beta work with Unicode as well like in this silly example:

Local $mRateToEuro[]

$mRateToEuro["€"] = 1
$mRateToEuro["EUR"] = $mRateToEuro.$mRateToEuro["$"] = 0.747441
$mRateToEuro["USD"] = $mRateToEuro["$"]     ; $ is special for AutoIt!
$mRateToEuro["£"] = 1.24745
$mRateToEuro["GBP"] = $mRateToEuro.£
$mRateToEuro["¥"] = 0.00729701
$mRateToEuro["JPY"] = $mRateToEuro.¥
$mRateToEuro["₩"] = 0.000731862
$mRateToEuro.KRW = $mRateToEuro.$mRateToEuro["﷼"] = 0.205336
$mRateToEuro.QAR = $mRateToEuro.$mRateToEuro["₨"] = 0.0122838
$mRateToEuro["INR"] = $mRateToEuro.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

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...