Page 1 of 1
Hotstrings and the ú character?
Posted: 08 Oct 2023, 02:31
by roysubs
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?
Re: Hotstrings and the ú character?
Posted: 08 Oct 2023, 02:45
by ahk7
Re: Hotstrings and the ú character?
Posted: 08 Oct 2023, 04:49
by roysubs
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?
- image.png (19.93 KiB) Viewed 748 times
Re: Hotstrings and the ú character?
Posted: 08 Oct 2023, 04:56
by ahk7
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
Re: Hotstrings and the ú character?
Posted: 08 Oct 2023, 09:25
by roysubs
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.
Re: Hotstrings and the ú character?
Posted: 08 Oct 2023, 16:43
by ahk7
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)
Re: Hotstrings and the ú character?
Posted: 08 Oct 2023, 19:03
by V0RT3X