I have a need to convert a unicode string into the appropriate ANSI encoding. Purpose is to insert the ANSI string into an old application, which with proper encoding selected, displays the same character. This seems like a simple job. I have the following: #include <WinAPI.au3> $string = "שָׁלוֹם" ; shalom in Hebrew $out = _WinAPI_WideCharToMultiByte($string) ConsoleWrite($out & @CRLF ) My expected outcome is (using my default ANSI, Western Europe codepage): ùÈ