[GitHub] httpcore issue #30: HTTPCORE-431 Fix EntityUtils encoding for application/js...

2016-09-04 Thread pauldraper
Github user pauldraper commented on the issue: https://github.com/apache/httpcore/pull/30 Using UTF-8 as the default encoding for parsing json is sufficient. https://github.com/ok2c/httpcore/commit/df2c9805ca770691bed8b54c8cecb9e50ffaa3fc --- If your project is set up

[GitHub] httpcore pull request #30: HTTPCORE-431 Fix EntityUtils encoding for applica...

2016-09-04 Thread pauldraper
Github user pauldraper closed the pull request at: https://github.com/apache/httpcore/pull/30 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] httpcore issue #30: HTTPCORE-431 Fix EntityUtils encoding for application/js...

2016-09-03 Thread pauldraper
Github user pauldraper commented on the issue: https://github.com/apache/httpcore/pull/30 > This code makes no distinction between BE and LE encodings described in rfc4627. > rfc7159 explicitly forbids byte order marks, while this patch depends on BOMs. RF

[GitHub] httpcore pull request #30: HTTPCORE-431 Fix EntityUtils encoding for applica...

2016-09-02 Thread pauldraper
Github user pauldraper commented on a diff in the pull request: https://github.com/apache/httpcore/pull/30#discussion_r77326982 --- Diff: httpcore/src/main/java/org/apache/http/Consts.java --- @@ -42,6 +42,8 @@ public static final int HT = 9; // public

[GitHub] httpcore pull request #30: HTTPCORE-431 Correct default encoding for applica...

2016-09-02 Thread pauldraper
GitHub user pauldraper opened a pull request: https://github.com/apache/httpcore/pull/30 HTTPCORE-431 Correct default encoding for application/json Auto-detect UTF encoding as described in RFC 4627/7159, including BOM handling You can merge this pull request into a Git repository