Unicode and ANSI quetions

M

Mattias Sjögren

Nikolay,
Is there a way to find if text file is in ANSI or Unicode?

Unicode text files typically start with the preamble &HFEFF (stored as
FE FF or FF FE depending on system byte order). ANSI text files don't
have any preamble and you can't really be sure whether they use ANSI
encoding or not.



Mattias
 
N

Nikolay Petrov

How to read INSI files in vb.net?

Mattias Sjogren said:
Nikolay,


Unicode text files typically start with the preamble &HFEFF (stored as
FE FF or FF FE depending on system byte order). ANSI text files don't
have any preamble and you can't really be sure whether they use ANSI
encoding or not.



Mattias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top