lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5107) Convert all Properties#store() and load() to use UTF-8 charset
Date Fri, 12 Jul 2013 15:09:48 GMT


Uwe Schindler commented on LUCENE-5107:

In Lucene/Solr 4.5 we only allow the UTF-8 encoded properties files, so Reader/Writer throughout
the code! This allows to still read files written by 4.4 and before with unicode-escapes are
still correctly decoded (the Reader load(Reader) method decodes unicode-escaped, too). In
fact, files written by the InputStream API are US-ASCII only, with everything >127 escaped
(see - so can also be loaded by an UTF-8 decoder, so the change breaks no existing
> Convert all Properties#store() and load() to use UTF-8 charset
> --------------------------------------------------------------
>                 Key: LUCENE-5107
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Task
>    Affects Versions: 4.4
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: 4.5
> Followup of LUCENE-5106: This needs to be changed and the forbidden signatures changed
to disallow InputStream/OutputStream and allow Reader/Writer only.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message