[
https://issues.apache.org/jira/browse/CONFIGURATION-832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary D. Gregory resolved CONFIGURATION-832.
-------------------------------------------
Fix Version/s: 2.9.0
Resolution: Fixed
> 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, 1.9, 1.10
> Reporter: Andrey
> Priority: Major
> Fix For: 2.9.0
>
>
> I'm use PropertiesConfiguration (commons-configuration v1.8, v1.9 and v1.10)
> 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)