AutoHotkey Broken Special Characters Topic is solved

Get help with using AutoHotkey and its commands and hotkeys

AutoHotkey Broken Special Characters  Topic is solved

22 Jun 2018, 20:21

So basically what happened was i have a master script that opens my game hotkeys, auto correct, and numpad programs. One day i was adding something to my auto correct to where if i typed ^2 it would replace it with a squared symbol and this worked for a while then it started being super buggy and eventually this happens when i type it: ² (i have tried changing my computer language also) but i just don't know what whats happening. This happens with words like cliche when when i type it with the script on its supposed to but a ' above the e but it instead does this: cliché


I have no idea that's the issue ive tried to get an alpha 2.0 version and that says that 90% of my script is incorrect and it doesn't get to opening the auto correct script (i NEED the master script so even if the auto correct does work its still bad that i cant use the rest). Ive also used,, and it did say (when the script was originally broken then i downgraded to try fix) but i cant find that to reinstall only

There is nothing on the issue and i would post the auto correct but its 5500 lines long XD

i will however post the master script (CONTROL) for you to look at and some of the auto correct that is broken...


Code: [Select all] [Expand] [Download] (Untitled.ahk)GeSHi © Codebox Plus

sorry for the **** post I'm just confused
User avatar
Posts: 704
Joined: 20 Dec 2016, 03:53
Location: Diaspora

Re: AutoHotkey Broken Special Characters

23 Jun 2018, 05:06


It looks like a decoding problem. According to my knowledge, AutoHotkey has different encoding types.
ANSI- and UNICODE-versions. If you have installed UNICODE-version of AutoHotkey, I think, you have to store your scripts as UTF-8.

But I'm not encoding-specialist, it is only my guess. Please look for encoding type and report.

[Starklichtbirne IQ >> 250!!] Dank deutscher Lehrerempfehlung, nur Süperdepp und Hartz4-Bezieher, statt Abitürient und Einkommensbezieher.
[Strong light bulb IQ >> 250!!] Thanks to german teacher's recommendation, willful and welfare recipient, instead of high school graduate and moneymaker.

Entering high school for foreign children is not prohibited in GERMANY, it's only made nearly impossible by government.
Virtually the only way - visiting high school abroad.
Posts: 5983
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

Re: AutoHotkey Broken Special Characters

23 Jun 2018, 23:11

:arrow: FAQ: Why are the non-ASCII characters in my script displaying or sending incorrectly?

AutoHotkey has different encoding types.
The world at large has many different encoding types. AutoHotkey just decodes what it is given according to a few simple rules.

If you have installed UNICODE-version of AutoHotkey, I think, you have to store your scripts as UTF-8.
This seems to be a common misconception. I explained in detail here: Ansi VS Unicode

It is more likely that the OP has inadvertently saved the file as UTF-8 without BOM, which will not work by default because AutoHotkey will misinterpret it as ANSI. Saving the file as ANSI will work, but may prevent the file from containing certain characters (i.e. any not contained by the system's default ANSI codepage). Saving the file as UTF-8 with BOM will work.

Return to “Ask For Help”

Who is online

Users browsing this forum: DhanBB, jnkettenring, RyanAyton and 42 guests