[ 
https://issues.apache.org/jira/browse/LUCENE-6563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615483#comment-14615483
 ] 

Dawid Weiss commented on LUCENE-6563:
-------------------------------------

Don't want to be picky, but {{Charset.defaultCharset()}} isn't exactly what's 
used for filename encoding... most of the time it will be the same thing though 
so I think it's still an improvement.

For the record, all of this charset-to-byte related stuff is a legacy 
headache... check out the interesting comments in openjdk if you're interested.
{code}
                /* On windows the system locale may be different than the
                 * user locale. This is an unsupported configuration, [...]
{code}



> MockFileSystemTestCase.testURI should be improved to handle cases where 
> OS/JVM cannot create non-ASCII filenames
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6563
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6563
>             Project: Lucene - Core
>          Issue Type: Wish
>            Reporter: Christine Poerschke
>            Assignee: Dawid Weiss
>            Priority: Minor
>
> {{ant test -Dtestcase=TestVerboseFS -Dtests.method=testURI 
> -Dtests.file.encoding=UTF-8}} fails (for example) with 'Oracle Corporation 
> 1.8.0_45 (64-bit)' when the default {{sun.jnu.encoding}} system property is 
> (for example) {{ANSI_X3.4-1968}}
> [details to follow]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to