AHK: ANSI does not see Unicode characters

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
bapl
Posts: 119
Joined: 17 Apr 2021, 00:24

AHK: ANSI does not see Unicode characters

Post by bapl » 18 May 2021, 12:02

Code: Select all

SpaceArray := ["࢟","࢝","࢛","࢚","࢘","ࢗ","࢖","࢕","࢔","࢓","࢒","࢑","࢐","࢏","ࢍ","ࢌ","ࢋ","ࢊ","ࢉ","࢈","ࢇ","ࢆ","ࢅ","ࢄ","ࢃ","ࢂ","ࢁ","ࢀ","ࡿ","ࡾ","ࡽ","ࡼ","ࡻ","ࡺ","ࡹ","ࡸ","ࡷ","ࡶ","ࡴ","ࡱ","ࡰ"]
Loop, 40
{
MsgBox, % SpaceArray[A_Index]
}
Return
This script contains an array with unrecognized characters.

Ahk Unicode - recognizes them the same way as written in the script
Ahk ANSI - recognizes characters as question mark

Question: How to display Unicode characters in ANSI?
Are there any options?

Any help would be helpful!

User avatar
boiler
Posts: 16925
Joined: 21 Dec 2014, 02:44

Re: AHK: ANSI does not see Unicode characters

Post by boiler » 18 May 2021, 14:05

bapl wrote: Question: How to display Unicode characters in ANSI?
Are there any options?
So you’re asking why the Unicode version is necessary to support Unicode characters? Doesn’t the question answer itself?

bapl
Posts: 119
Joined: 17 Apr 2021, 00:24

Re: AHK: ANSI does not see Unicode characters

Post by bapl » 18 May 2021, 15:09

There is no way to use Unicode assembly in this case.
Therefore, I am looking for any workaround, using Windows commands or dll libraries.

Post Reply

Return to “Ask for Help (v1)”