using special characters

edited October 2015 in How To...

My program has to store the words in a text and count the most used ones. In my lenguage stressed characters like è,ò ecc are very common( è is the most used word in italian), so when using my program on an italian book i noticed that words with special characters are not recognized, so as example "però" becomes "per�" in both processing when storing words,causing errors and duplicates, and in the .csv file used as output.

Writing those characters sa variables causes no errors, but reading it from a txt file does. Any solution?

Sign In or Register to comment.