Re: Unicode (or a subset of it) in DOS window?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I don't want to frustrate you, but you have to accept that your wording
was wrong.

First, your conversion isn't from ANSI to *ASCII*, but ANSI to CP850
because ASCII only contains 7-bits data. On the other hand, ANSI means
nothing. If you're using say a PC in Central Europe, the so-called ANSI is
actually CP1250 instead of CP1252 for Western Europe. And then your
so-called ASCII also changes according to system's locale. It could be CP850
(Western Europe multi-language), CP437 (pure American English with block
drawings), etc, etc. So, a conversion from ANSI to ASCII can't help, but a
conversion from CP1252 to CP850 does help, but this isn't the subject of my
question.

And then, my original question was asked to know how to change the way
DOS behaves, but not change our ways to do things to suit DOS!

"Detlev Dreyer" wrote:

> "TFS" <TFS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > And then, the problem couldn't be solved by converting ANSI to
> > ASCII (!!!).
>
> Well, before giving an advice, I always try first. Tested under DOS
> CP850, it was absolutely no problem to read your sample text
> "ça a été très joli" using EDIT.COM after saving with Notepad (ANSI)
> and converting to ASCII. It worked vice versa (tested with the German
> characters ÄäÜüÖüß) as well after converting from ASCII to ANSI.
>
> > Sorry, but your answer is no good.
>
> You won't get any better advice, most likely.

I wait for somebody else.

>
> --
> d-d
>
.



Relevant Pages

  • Re: per Batch Bytes in Datei schreiben???
    ... Byte der Datei soundso)? ... Es gab erst ASCII dann kam ANSI dazu. ... In DOS gibt es nur ASCII. ...
    (de.comp.os.msdos)
  • Re: Unicode (or a subset of it) in DOS window?
    ... > First, your conversion isn't from ANSI to *ASCII*, but ANSI to CP850 ... Yes and no. DOS uses the extended ASCII charset ... > American English with block drawings), ...
    (microsoft.public.windowsxp.general)
  • Re: File IO loses some characters
    ... > ASCII is from DOS, Windows 16 bit started with ANSI. ... ASCII is from teletype machines. ... ANSI (with Windows) added a different 128. ...
    (microsoft.public.dotnet.general)
  • Re: Sort collating sequence
    ... Windows has never used ASCII. ... ASCII is Dos. ... Old windows use ANSI, current windows use unicode and Ansi for old programs. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Politics, not science, defines global warmists
    ... I stated that Ansi was "like Ascii" as are ALL coding systems. ... Not for anyone other than you and a couple of other Outlook Express users. ... I make a simple analogy, that Ansi is "like" ascii, as are ALL OTHER ... The ANSI control standard ...
    (rec.gambling.poker)