W warayTek Member Licensed User Dec 15, 2022 #1 Hi, I seem can not find a way to convert a character with diamond with a question mark � to Ñ. I'm reading a csv file and save it to local database. B4X: filename = "dtr_info2.csv" myImportList = File.ReadList(File.DirAssets, filename)
Hi, I seem can not find a way to convert a character with diamond with a question mark � to Ñ. I'm reading a csv file and save it to local database. B4X: filename = "dtr_info2.csv" myImportList = File.ReadList(File.DirAssets, filename)
Erel B4X founder Staff member Licensed User Longtime User Dec 15, 2022 #2 This means that the file isn't encoded with UTF8. You can open it with Notepad++ and with some tests find its encoding. Then use TextReader to read it with the correct encoding (or better - convert the encoding to UTF8). Upvote 0
This means that the file isn't encoded with UTF8. You can open it with Notepad++ and with some tests find its encoding. Then use TextReader to read it with the correct encoding (or better - convert the encoding to UTF8).