You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/05/24 12:59:00 UTC
[jira] [Commented] (CONFIGURATION-832) getProperty("key") returns null if value contains cyrillic character 'х'
[ https://issues.apache.org/jira/browse/CONFIGURATION-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17725788#comment-17725788 ]
Gary D. Gregory commented on CONFIGURATION-832:
-----------------------------------------------
Hello [~ldoctori]
Please update to {{commons-configuration2}} 2.9.0 (this will require at least import statement changes) or at least {{commons-configuration}} 1.10 and let us know what you find.
TY!
> getProperty("key") returns null if value contains cyrillic character 'х'
> -------------------------------------------------------------------------
>
> Key: CONFIGURATION-832
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-832
> Project: Commons Configuration
> Issue Type: Bug
> Components: File reloading
> Affects Versions: 1.8
> Reporter: Andrey
> Priority: Major
>
> I use PropertiesConfiguration (commons-configuration v1.8) to read ".properties" file.
> If value of property contains cyrillic character 'х' (U+0445) PropertiesConfiguration.getProperty("key") returns null. For example:
> * in case of key=Привет, мир! => getProperty("key") will return "Привет, мир!"
> * but in case of key=Привет, мир!х => getProperty("key") will return NULL
> BUT if property with 'х' character added in PropertiesConfiguration using addProperty("key", "Привет, мир!х") getProperty("key") will return "Привет, мир!"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)