Github user hirthwork commented on the issue:
https://github.com/apache/httpcore/pull/30
1. This code makes no distinction between BE and LE encodings described in
[rfc4627](https://tools.ietf.org/html/rfc4627#section-3).
2. [rfc7159](https://tools.ietf.org/html/rfc7159#section-8.1) explicitly
forbids byte order marks, while this patch depends on BOMs.
IMHO, workarounds for improper servers should not be injected in core
functionality. Probably, separate function like
EntityUtils.safeJsonToString(...) should be introduced, so anybody using this
function will be informed than slight performance penalty will apply.
---
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 is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]