Re: Unicode in Visual .NET 2003 and C#



Unicode file will normall have a signature for little endian or big
endian:

FEFF or FFFE

These two bytes are the starting point. I recommend using signature so
that when the file is opened, the encoding is detected automatically.

"Without signature" means without these two extra bytes at the start.
It may create problems mainly because the encoding is not defined and
the editor / file-open must be instructed to consider it as unicode
(little-endian) file.

I recommend to always use the signature.


--
Cheers,
Gaurav Vaish
http://mastergaurav.blogspot.com
http://mastergaurav.org
---------------------

.



Relevant Pages

  • Re: Most negative double value
    ... Christian Bau wrote: ... this is right if I am writing robust code to run everywhere... ... >>tries to find machine endianess and is part of my signature... ... >>endian or little endian... ...
    (comp.lang.c)
  • Re: Sign w/ BSafe; Verify w/ MS Crypto; Error: Invalid Signature
    ... >> I am getting an error verifying a signature created with BSAFE. ... > other products use big endian byte order. ... > Have you tried reversing the contents of 'signatureKeyData'? ...
    (microsoft.public.platformsdk.security)
  • Re: VB6 Word Automation Printing Problem Vista Op system
    ... I will certainly look at the setting you recommend for Printout method to ... Additional Hang Signature 1 8587b7f81573386cf647caf99ca5062 ... By the way, when you use the PrintOut method, do you set the Background ...
    (microsoft.public.word.vba.general)
  • Re: Signature in custom Outlook form
    ... I have the same problem as Geert, but I'm using Outlook 2002 SP3. ... following the steps you recommend does not work for me. ... I was sent an OFT template by another designer who had his signature ...
    (microsoft.public.outlook.program_forms)
  • Re: Verifying Signatures
    ... CryptVerifySignature expects little endian integer. ... complete signature to CryptVerifySignature? ... > Do you know what check comes first, the invalid sig check, or the memory ...
    (microsoft.public.platformsdk.security)