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

Popular posts from this blog

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World