senthor Posted November 5, 2008 Posted November 5, 2008 Hi!Following problem...1. Create a file called "µ.txt" in some dir, lets choose C:\Autoit\µ.txt2. Run "cmd /c dir C:\Autoit /A /B /O>C:\error.txt"3. Run "notepad C:\Autoit\error.txt"4. You'll see a file called "æ.txt"Thats because several years ago, when Ascii was normal standart, microsoft decided to expand it for dos.So Ascii with DOS expansion was born.But the values of Ascii+DOS chars are different to ANSI / UTF chars. Thus, a wrong char is shown.You can see that the "µ" in the left row is a "æ" in the right row.How to make it work???Thanks,senthor FileListToArray UDFMy tools
ProgAndy Posted November 5, 2008 Posted November 5, 2008 Well, you should use OEMToChar http://www.autoitscript.com/forum/index.ph...st&p=518726 *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes
senthor Posted November 5, 2008 Author Posted November 5, 2008 thanks, solved FileListToArray UDFMy tools
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now