Versions: Windows 7 (64-bit); go1.1.1 windows/amd64; Java 1.7.0_21
Tuesday, 25 June 2013
Thursday, 6 June 2013
JSON documents are generally encoded using UTF-8 but the format also supports four other encoding forms. This post covers the mechanics of character encoding detection for JSON parsers that don't provide handling for them - for example, Gson and JSON.simple.
EDIT: 2014; a version of this library has been published to Maven central.