I can't get certain characters to replace in HotStrings.
e.g.
::Ugluk::Uglúk ;
This always fails, generating the following on the page:
Uglk♦
What am I doing wrong, how should I setup this HotString?
Hotstrings and the ú character?
Re: Hotstrings and the ú character?
When I open the file in Notepad++, it already says "UTF-8 BOM", and it doesn't work, so can you think of what else I need to change?
Last edited by roysubs on 08 Oct 2023, 06:47, edited 1 time in total.
Re: Hotstrings and the ú character?
Have you reloaded the script (just asking) - and are you sure you are running the unicode version of AutoHotkey (v1 also has a 32bit ansi version)
Try MsgBox % A_IsUnicode, it should say "1" - https://www.autohotkey.com/docs/v1/Variables.htm#IsUnicode
Try MsgBox % A_IsUnicode, it should say "1" - https://www.autohotkey.com/docs/v1/Variables.htm#IsUnicode
Re: Hotstrings and the ú character?
I'm running it with the 64-bit unicode version of 1.x ... Is there another way to generate a ú character, such as by a unicode string to invoke it or something (I'm not very knowledgable about this stuff, don't know how that would look).
All other accented characters that I invoke from hotstrings work perfectly, just this ú character that is causing me these problems.
All other accented characters that I invoke from hotstrings work perfectly, just this ú character that is causing me these problems.
Re: Hotstrings and the ú character?
Stupid question but the the font in the target application actually have that character?
You could try the T option of the https://www.autohotkey.com/docs/v1/Hotstrings.htm#Options
(what v1 version are you running, latest is v1.1.37.01 at the moment)
You could try the T option of the https://www.autohotkey.com/docs/v1/Hotstrings.htm#Options
(what v1 version are you running, latest is v1.1.37.01 at the moment)
Re: Hotstrings and the ú character?
Possibly try...?
Code: Select all
::Ugluk::Ugl{ASC 151}k