简体   繁体   中英

Try to read text file from sdcard in other language

I try to read text file (file.txt) from SDcard and make string for Textview. so i found this and every things works fine but when i changed language in text file , result is some question marks and not words .how can i fix this problem?

I had this problem too. this error fixed when you saved your .txt file as UTF-8 Unicode , not ANSI.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM