You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2019/04/02 21:38:31 UTC
[GitHub] [httpcomponents-core] rschmitt opened a new pull request #115:
HTTPCLIENT-1978: Filter characters before byte conversion
rschmitt opened a new pull request #115: HTTPCLIENT-1978: Filter characters before byte conversion
URL: https://github.com/apache/httpcomponents-core/pull/115
This change causes ByteArrayBuffer to filter out all characters that
cannot be correctly converted to ISO-8859-1 by simple downcasting to a
byte. In addition, control characters and most whitespace characters are
filtered out. Filtered characters are replaced with a question mark,
except for surrogate pairs, which are replaced with two question marks.
https://en.wikipedia.org/wiki/ISO/IEC_8859-1
https://en.wikipedia.org/wiki/List_of_Unicode_characters
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org