I try replace the accented characters from the string, i use this script.
https://www.autohotkey.com/boards/viewtopic.php?t=61626
Code: Select all
chars := {a:"[áàâǎăãảạäåāąấầẫẩậắằẵẳặǻ]"
,c:"[ćĉčċç]"
,d:"[ďđð]"
,e:"[éèêěĕẽẻėëēęếềễểẹệ]"
,g:"[ğĝġģ]"
,h:"[ĥħ]"
,i:"[íìĭîǐïĩįīỉị]"
,j:"[ĵ]"
,k:"[ķ]"
,l:"[ĺľļłŀ]"
,n:"[ńňñņ]"
,o:"[óòŏôốồỗổǒöőõøǿōỏơớờỡởợọộ]"
,p:"[ṕṗ]"
,r:"[ŕřŗ]"
,s:"[śŝšş]"
,t:"[ťţŧ]"
,u:"[úùŭûǔůüǘǜǚǖűũųūủưứừữửựụ]"
,w:"[ẃẁŵẅ]"
,y:"[ýỳŷÿỹỷỵ]"
,z:"[źžż]"}
myString :="The cát jûmped óver thë moon"
For replace, find in chars
myString := RegExReplace(myString,find,replace)
MsgBox % myString
"The caat jaamped aaver thaa moon"
What is the problem?