netliomax25-code opened a new pull request, #2585:
URL: https://github.com/apache/groovy/pull/2585

   YamlSlurper, TomlSlurper and CsvSlurper wrap their stream and path inputs in 
`new InputStreamReader(stream)`, so bytes are decoded with the JVM default 
charset. Under a non-UTF-8 default (Windows-1252, Shift_JIS, or a JVM started 
with `-Dfile.encoding`), UTF-8 `0xC3 0xA9` reads back as `U+00C3 U+00A9` 
instead of `U+00E9`. YAML and TOML mandate UTF-8 and JsonSlurper already 
defaults byte/stream input to it, so pin these readers to UTF-8.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to