How do I use Unicode in AutoHotKey?

前端 未结 4 1305
盖世英雄少女心
盖世英雄少女心 2021-02-05 03:10

I am trying to make two hyphens trigger a short dash, and three hyphens trigger a long dash; like

:*?:---=::—
:*?:--=::–

except working. Here i

4条回答
  •  春和景丽
    2021-02-05 03:38

    The .ahk text file needed to be saved with UTF8-BOM encoding rather than UTF8

    As pointed out in this comment, posting as an answer for more visibility.

提交回复
热议问题