You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Jason E Bailey (JIRA)" <ji...@apache.org> on 2018/06/25 14:57:00 UTC
[jira] [Commented] (SLING-7751) Commons Html - Underlying parser
implementation uses system charset
[ https://issues.apache.org/jira/browse/SLING-7751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522389#comment-16522389 ]
Jason E Bailey commented on SLING-7751:
---------------------------------------
Issue only occurs if no char encoding is set on the InputSource this is done by the TagSoupHtmlParser. Adding unit test case as validation of implementation.
> Commons Html - Underlying parser implementation uses system charset
> -------------------------------------------------------------------
>
> Key: SLING-7751
> URL: https://issues.apache.org/jira/browse/SLING-7751
> Project: Sling
> Issue Type: Improvement
> Reporter: Jason E Bailey
> Assignee: Jason E Bailey
> Priority: Minor
> Fix For: Commons HTML 1.0.4
>
>
> While re-writing the underlying tagsoup library I discovered that, by default, the internal InputStreamReader is created with the system default charset.
> This can be overridden with a custom AutoDetector.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)