Java: a rough guide to character encoding
Output of the code: Cp1252 £ a3 UTF8 £ c2 a3 UTF-16BE £ 00 a3 Java uses two mechanisms to represent supported encodings. The initial mechanism was via string IDs. Java 1.4 introduce the type-safe Charset class. Note that the two mechanisms use ......