Jump to content

Ascii with DOS expansion


senthor
 Share

Recommended Posts

Hi!

Following problem...

1. Create a file called "µ.txt" in some dir, lets choose C:\Autoit\µ.txt

2. 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.

Posted Image

You can see that the "µ" in the left row is a "æ" in the right row.

How to make it work???

Thanks,

senthor

Link to comment
Share on other sites

*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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...