A
aGAric
i use std::getling to read a line in unicoude file to buffer,like:
WCHAR buf[100]
wifstream in;
std::getling(buf,in,100);
but i can't get the right result,it seems can only read by 1 byte;e.g first
word of unicode file is "0xfffe" ,if use getline ,it may 0x00ff 0x00fe in my
buffer
do you have any idea,except use c lib like fgetws
WCHAR buf[100]
wifstream in;
std::getling(buf,in,100);
but i can't get the right result,it seems can only read by 1 byte;e.g first
word of unicode file is "0xfffe" ,if use getline ,it may 0x00ff 0x00fe in my
buffer
do you have any idea,except use c lib like fgetws