Opening Unicode files

Hi.
I created a .txt file and wrote in it "Hello World" (without double quotation) and saved it with Unicode Encoding.(Little Endian)
When I open it in C++, the first two bytes are 0xFF and 0xFE. what are these?
Thanks :-)
It's the BOM:

http://en.wikipedia.org/wiki/Byte_Order_Mark

Basically it identifies the file endianness. FF followed by FE indicates little endian, whereas FE followed by FF indicates big endian.
Thank you very much :-)
Topic archived. No new replies allowed.