I open text file with:
std::ifstream in( "1.txt" );
if( in.good() )
{
char ch = 0;
while( !in.eof() )
{
in >> ch;
std::cout << std::hex << (short)ch << " ";
}
}
And I receive three strange characters at the beginning: ffef ffbb ffbf. What is it?