legend Posted August 18, 2013 Posted August 18, 2013 Hello. On a chineese OS, that got a chinese username, @userprofiledir, is not working, and it will just return: "??" Anyone knows if it's possible to get the chinese username somehow?
jchd Posted August 18, 2013 Posted August 18, 2013 AutoIt is Unicode-aware. To use Unicode in your script, please use UTF-8 source encoding. If you're using Scite, open your source, then selct: File > Encoding > UTF8 with BOM. Then change the file anyhow (add spece then delete space is enough) and save it. From now on it's inUTF-8 and you can display Chinese in MsgBox and other Windows controls. The Scite console is something else. Try this as UTF8 source: MsgBox(0, "Chinese", "綐綻綃籰紆糪籾窅穄") 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 hereRegExp tutorial: enough to get startedPCRE 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)
Iczer Posted August 18, 2013 Posted August 18, 2013 hmm... if i use UTF8 with BOM or UTF 16 LE for main script, then no problem at all. but if UTF8 with BOM or UTF 16 LE used for #Include script, while main in CPP, UTF8 with BOM or UTF 16 LE then i get: ! Au3check doesn't support input files encoded as UTF16 with BOM: ! Au3check doesn't support input files encoded as UTF8 with BOM: if i use UTF8 without BOM for main script, then i get: ! *************************************************************************************************************** ! * Input file is UTF8 without BOM encoded, Obfuscator do not support UNICODE and will be skipped. * ! * The file SHOULD BE encoded as UTF8 with BOM to continue processing by AutoIt3Wrapper. * ! * ##################################################################################################### * ! * ##### AutoIt3Wrapper will not show a GUI or update the script to avoid any damage to your scriptfile. ##### * ! * ##################################################################################################### * ! * When your file isn't a UTF8 file without BOM then please report this to me for review. * ! *************************************************************************************************************** but if UTF8 without BOM used for #Include script, while main in CPP or UTF 16 LE, then no problem at all. AU3Check working without hiccups. it seems its a way to go until AU3Check become Unicode aware as AutoIt few years ago.
jchd Posted August 18, 2013 Posted August 18, 2013 Au3Check is evolving about this. Jos is taking care. Try the latest beta SciTe4AutoIt3. That or skip Au3Check to at least have your program working. 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 hereRegExp tutorial: enough to get startedPCRE 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)
Iczer Posted August 18, 2013 Posted August 18, 2013 i'm on 3.3.8.1 for now, and Au3Check "keeping quiet" about Unicode
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