I have an Android- as well as iPhone-Version of my App. In iOS I can tell the CSV-Parser to encode the string with UTF-8. Apparently this is also possible in Android when I use the InputStreamReader when I open the CSV file.
isr = new InputStreamReader(getAssets().open(
"english.csv"), "UTF-8");
另外,当我检查编码时
System.out.println(isr.getEncoding());
它返回UTF8。
我们现在是,一些听话! 显示完全正确,而大多数则显示带有方括号的电话。 换言之,虽然确切的同文信是正确的。