Jump to content
Sign in to follow this  
senthor

Ascii with DOS expansion

Recommended Posts

senthor

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

Share this post


Link to post
Share on other sites
ProgAndy

*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

Share this post


Link to post
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
Sign in to follow this  

×