[ https://issues.apache.org/jira/browse/LUCENE-4194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407018#comment-13407018
]
Dawid Weiss commented on LUCENE-4194:
-------------------------------------
There are a number of places (in tests mostly) which call:
{code}
new FileReader(File)
String.getBytes()
new String(byte[])
{code}
The expected encoding should be provided explicitly, even if the contents is mostly ASCII.
> Fix default charset sensitive method calls
> ------------------------------------------
>
> Key: LUCENE-4194
> URL: https://issues.apache.org/jira/browse/LUCENE-4194
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Dawid Weiss
> Priority: Minor
> Fix For: 4.0, 5.0
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
|