c++ - Reading and displaying UTF-8 encoded Chinese characters -
i trying read chinese characters utf-8 encoded text file , storing them in variables. when try print them in console, shows question marks in place of characters.
while(!fin.eof()) { fin.get(c); appendcharactertoword(currentword, c); }
(i working in windows , code in c++)
Comments
Post a Comment