[
https://issues.apache.org/jira/browse/SCM-1007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17963958#comment-17963958
]
ASF GitHub Bot commented on SCM-1007:
-------------------------------------
jira-importer commented on issue #1230:
URL: https://github.com/apache/maven-scm/issues/1230#issuecomment-2964658472
**[Elliotte Rusty
Harold](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=elharo)**
commented
Digging into the code this is doing a better job at encoding detection than
I initially thought.
> XML encoding detection bugs
> ---------------------------
>
> Key: SCM-1007
> URL: https://issues.apache.org/jira/browse/SCM-1007
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Reporter: Elliotte Rusty Harold
> Priority: Minor
>
> In
> https://github.com/apache/maven-scm/blob/ee41988fc7cdc818a070c346039d9156c8d97ec9/maven-scm-providers/maven-scm-provider-local/src/main/java/org/apache/maven/scm/provider/local/metadata/LocalScmMetadataUtils.java
> and possibly elsewhere
> Should use an InputStream and let the parser detect the encoding instead of a
> reader that always picks the system encoding, regardless of what the file
> uses.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)