Re: encoding

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

From: Tank (anonymous_at_microsoft.com)
Date: 05/21/04


Date: Fri, 21 May 2004 18:31:24 +0800

You must have Byte Order Mark (BOM) header written to the beginning of your
file. You might want to read about BOM :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/unicode_42jv.asp

Hope this help.

regards,
tank

"Paul" <anonymous@discussions.microsoft.com> wrote in message
news:3E356341-48BB-471D-80CB-E8AFDEE54D10@microsoft.com...
> Hi,
>
> How do I add encoding = UTF-8 to a file that was just created by
_tfopen()? Or... how do I create a file with encoding other than ANSI
(UTF-8, Unicode, etc.) in C++?
>
> Thanks,
> Paul



Relevant Pages

  • RE: Recurrencing
    ... The sample of Itzik works fine and Celko gave me a hint ... how can I improve this querry with BOM ... Regards ...
    (microsoft.public.sqlserver.programming)
  • remove BOM from string read from utf-8 file
    ... If I pass this text to a COM object, I can see that there is still the BOM ... character in the string is not ok, ... What's the right way to remove the BOM from the string? ...
    (comp.lang.python)
  • Re: File.new and encoding
    ... that I'm reading the BOM from one of my source files. ... source seems to contain the BOM and it is writen to target. ...
    (comp.lang.ruby)
  • Re: Unicode in msvc++ 6.0
    ... its role as a Byte Order Mark is to, well, determine the Byte Order! ... Yes, the BOM is not a requirement, though most of the Windows ... referring to "Indians" when I was talking about converting UNIX binary data ...
    (microsoft.public.vc.mfc)
  • Re: tdom again - BOM and/or encoding problems & how to create node?
    ... A BOM (Byte Order Mark) is just the Unicode U+FEFF. ... As FFFE (which you ...
    (comp.lang.tcl)