Android UTF-8 encoding not working?
问题 I am working with a CSV file right now. In my program i am using an OutputStreamWriter to write data the csv file. OutputStreamWriter myOutWriter = new OutputStreamWriter(fOut, Charset.forName("UTF-8").newEncoder()); I tried printing out the encoding style of this writer and get the following: Log.i(TAG, "BODY ENCODING: " + myOutWriter.getEncoding()); Logcat: BODY ENCODING: UTF-8 But when i try to open the csv file on my desktop it says that the file is in windows-1252 so i cant read æøå