Special Unicode character and encoding issue

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Arrivest
Posts: 16
Joined: 24 Nov 2017, 12:28

Special Unicode character and encoding issue

03 Mar 2018, 13:38

Suppose I have this hotstring in my script:

Code: Select all

::star::★
If I write my script with Sublime Text, and save as UTF-8, the hotstring will output some gabled text like 鈽�.
If I then open this script with notepad, and save again, the issue will be fixed. The hotstring will correctly output ★.
But if I then open the script with Sublime Text again, it'll show the encoding has been changed to "UTF-8 with BOM". I don't know much about "UTF-8 with BOM", although it's supposed to be discouraged, I don't actually mind. But I'm just curious, is there something I should understand about this behavior?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 332 guests