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

What Are The Best Universities In The World?

The Ten Most Livable Cities In The World

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