Re: ascii

From: Jay B. Harlow [MVP - Outlook] (Jay_Harlow_MVP_at_msn.com)
Date: 07/19/04


Date: Mon, 19 Jul 2004 10:20:10 -0500

Frank,
> does it matter?
Yes it does!

If you are writing the file in Windows 1252 encoding, but then attempt to
read the file in the "OEM US encoding" an umlauted a will no longer be an
umlauted a.

Or worse, if you are writing it in UTF8 (the default for the StreamWriter)
and attempting to read it under Windows 1252, again an umlauted a will no
longer be an umlauted a.

Hope this helps
Jay

"Frank" <frank@frank.com> wrote in message
news:cdgn0d$bdd$1@news5.tilbu1.nb.home.nl...
> does it matter? I checked with a hexeditor.
> Frank
> "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
> news:#Khup4ZbEHA.996@TK2MSFTNGP12.phx.gbl...
> > * "Frank" <frank@frank.com> scripsit:
> > > I tried several encoding settings in streamwriter. None gave me
> a+umlaut.
> >
> > What application to you use to take a look at the file?
> >
> > --
> > Herfried K. Wagner [MVP]
> > <URL:http://dotnet.mvps.org/>
> > <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
>



Relevant Pages

  • Re: Help choosing Lisp for Mac OSX
    ... >> It's a matter of existing code ... >> versus writing new code. ... So how does this relate to running the program on Windows? ... Prev by Date: ...
    (comp.lang.lisp)
  • How to figure out the application context?
    ... I'm writing a class library and I need to the know the of the current ... if it is a web application or a windows application or a ... (Actually the latter two doesn't matter) ... think there must be some properties in the AppDomain or somewhere else ...
    (microsoft.public.dotnet.languages.csharp)
  • HoneyD-Win32 Parse Error --- ROADBLOCK
    ... ('binary' encoding is not supported, ... First of all thank you for writing your book. ... The problem is when I try to feed it a config file. ... Annotate “Windows 98” ...
    (Pen-Test)
  • Re: AES and Diehard
    ... >>you could employ kill file, if you dislike my writing. ... > and that's one reason why the matter concerned. ... > compression algorithm could exploit in order to compress. ...
    (sci.crypt)
  • Re: Tk 8.4.11 / Windows XP / Encoding problem
    ... Some of our clients are experiencing a weird problem on their Windows XP PCs. ... suddenly they start showing other characters instead of the correct utf-8 ... I also checked to see if the encoding in our ...
    (comp.lang.tcl)