L
leov
I write a string containing the character (char) 129 or hex 0x81 to a
FileWriter instance.
The default character encoding is Cp1252. Immediately before writing it
to the file, my String contains "\u0081". In the output file appears
the char 0x3F instead. So far I figured out I probably have to set a
different character encoding for the FileWriter.
- how can I set another char encoding for FileWriter, it supports the
method 'getEncoding()' , but no setEncoding()
- what encoding set will support the 0x81 (1byte) character?
thx
leo
FileWriter instance.
The default character encoding is Cp1252. Immediately before writing it
to the file, my String contains "\u0081". In the output file appears
the char 0x3F instead. So far I figured out I probably have to set a
different character encoding for the FileWriter.
- how can I set another char encoding for FileWriter, it supports the
method 'getEncoding()' , but no setEncoding()
- what encoding set will support the 0x81 (1byte) character?
thx
leo