Test and bug fix for CharTypes.appendQuoted() misencoding first 32 Unicode chars as '\u0000'.