I might be doing something wrong but I'm running a CUI compiled application in Powershell ISE and it's not outputting unicode characters in the console. I for a fact Powershell ISE supports unicode so I'm thinking it's something with AutoIt. Does ConsoleWrite just not output Unicode? Do CUI compiled applications run inside the old Windows Console when executed through Powershell? is there something else preventing this?
Yes I made it work. In registry go to HKCU/Console and add two new keys:
CodePage (DW) = FDE9 (this is 65001)
Facename (String) = "Lucida Console" (warning, case sensitive!!!)
#AutoIt3Wrapper_Change2CUI=y
ConsoleWrite(BinaryToString(StringToBinary("η γλώσσα μου έδωσαν ελληνική ЊЋЌЎЏАБВГДЕЖЗИЙКЛЩЯ ⅛⅜⅝⅞ ∙≠≡≤≥⌂", 4), 1) & @CRLF)
Sleep(5000)
You can use any fixed pitch font, like DejaVu Sans Mono, etc. Change window size, fontsize, ... accordingly so t