Closed ahjones closed 7 years ago
The current implementation uses the lowest priority charset.
Change the returns-correct-charset test to use utf-8 rather than utf8 becuase the second (at least on my system) is filtered out as a charset that isn't available.
utf-8
utf8
https://docs.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html confirms that charset name in jave always has the dash. And so does https://tools.ietf.org/html/rfc5987
Thanks
The current implementation uses the lowest priority charset.
Change the returns-correct-charset test to use
utf-8
rather thanutf8
becuase the second (at least on my system) is filtered out as a charset that isn't available.