commit | aa8b577a1dc176925cc42f9dc330ded55bf7d2f2 | [log] [tgz] |
---|---|---|
author | Thomas Wolf <thomas.wolf@paranor.ch> | Sun Feb 28 16:08:06 2021 +0100 |
committer | Thomas Wolf <thomas.wolf@paranor.ch> | Tue Mar 09 14:10:08 2021 +0100 |
tree | 9eb7a997ed2b1642e64529dd0b36131a8dd21e3b | |
parent | d3fba63080073e57e76c8699c357bbce5dbea526 [diff] |
Read Json stream as UTF-8 Do not (implicitly) rely on Charset.defaultCharset(). RFC 8259 specifies UTF-8 unless in a closed system. Older RFC 7159 and RFC 4627 allowed UTF-8, UTF-16, UTF-32, big or little endian, with or without BOM. Change-Id: I33ddfacccc97f81d9eeaf444f734c469028c8214 Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>