AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Non-English characters?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
LittleJo
Guest





PostPosted: Tue Aug 10, 2004 10:13 am    Post subject: Non-English characters? Reply with quote

Thanks for the answers on difference between AutoHotKey and AutoIt3. I decided to run and try AutoIt3 in the end.

Apparently it was a wrong choice. It worked nicely but soon it showed useless for me as it was only usable for English language - InputBox() can only read English characters, windows and controls that have non-English titles cannot be addressed, string functions do not work properly on non-English, etc.

That's why I am coming back - maybe AutoHotKey is better in this regard? Before I spend precious time learning another scripting language, can anyone confirm there is a way to handle non-English characters in AutoHotKey (running on WinXP)?

Thanks a lot.
Back to top
BoBo
Guest





PostPosted: Tue Aug 10, 2004 12:24 pm    Post subject: Reply with quote

In addition to the 26 English letters, the following letters and symbols are also supported (and possibly others too):


That's what the help says about the Send command. Therefore I expect it shouldn't be a prob to use other commands based on that.

Chris ?

TBH. I've seen that AU3 offers a spanish UserGuide - wouldn't make any sense if their users are restricted to the english/US char's set ???
Back to top
LittleJo
Guest





PostPosted: Tue Aug 10, 2004 8:08 pm    Post subject: Reply with quote

Spanish characters are included in the set you showed. However, accented letters of countries like Czech Republic, Poland etc. who are now European Union members are not in the set so that is a problem for me Sad
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10465

PostPosted: Tue Aug 10, 2004 10:02 pm    Post subject: Reply with quote

The short answer is that if it didn't work right in AutoIt it probably won't in AHK. As far as I know, both apps are designed to use the ANSI rather than the wide character set when calling most Windows API functions.

There is no specific support for wide (2-byte) characters in AHK, nor any specific support for Unicode. It just uses the default ANSI functionality provided by Windows.

There are many gaps in my knowledge in this area. In fact, I'm basically in a haze of confusion when it comes to wide characters and Unicode. Perhaps if you posted a specific short example that didn't work as expected in AutoIt, we could take a look and find out why it didn't. You could of course ask on the AutoIt forum if you prefer.

Quote:
the following letters and symbols are also supported
.. That's what the help says about the Send command. Therefore I expect it shouldn't be a prob to use other commands based on that.

If I recall correctly, those are the 128 extended ASCII characters (ANSI). AHK should generally support those since they are single-byte characters.

Quote:
However, accented letters of countries like Czech Republic, Poland etc. who are now European Union members are not in the set so that is a problem for me

It is quite possible that other characters are supported. It might depend on regional settings, keyboard layout, code pages, and other things about which I'm far from an expert.

Edit: The new "Transform Unicode" feature may help with the issues discussed in this topic.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group