Hi Peeps!
Anyone have any clues about how to identify if a text file is Unicode, ANSI.. or whatever?
Thankyou!
Printable View
Hi Peeps!
Anyone have any clues about how to identify if a text file is Unicode, ANSI.. or whatever?
Thankyou!
Use notepad and save a text file (with any content) as UNICODE. Then open it using a System.IO.StreamReader and check out the first two bytes. This is a unique signature that signals that the file is saved as UNICODE.