00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian EF BB BF = UTF-8
00 00 FE FF = UTF-32, big-endian FF FE 00 00 = UTF-32, little-endian FE FF = UTF-16, big-endian FF FE = UTF-16, little-endian EF BB BF = UTF-8
For optimum performance, it is recommended that you wrap all instances of UnicodeReader
with a java.io.BufferedReader
.
This class is mostly ripped off from the workaround in the description of Java Bug 4508058. @author Robert Futrell @version 0.9
|
|
|
|