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 

StringReplace with special characters

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



Joined: 23 Dec 2007
Posts: 52
Location: Austin

PostPosted: Thu Jan 31, 2008 2:02 am    Post subject: StringReplace with special characters Reply with quote

I want to make the following work:

StringReplace, clipboard, clipboard,δ,delta, All

obviously it doesn't. How do I make ahk recognize those special characters?
(such as α, δ ...)
Back to top
View user's profile Send private message
DerRaphael



Joined: 23 Nov 2007
Posts: 604
Location: 127.0.0.1

PostPosted: Thu Jan 31, 2008 4:41 am    Post subject: Reply with quote

Code:
MsgBox % "α, δ"


will result in
a, d
as output

autohotkey uses ANSI for string operations. you'll need to treat these chars as UTF. search forum for examples.

greets
derRaphael
_________________
Back to top
View user's profile Send private message
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