You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Andrey (Jira)" <ji...@apache.org> on 2023/05/24 12:53:00 UTC
[jira] [Created] (CONFIGURATION-832) getProperty("key") returns null if value contains cyrillic character 'х'
Andrey created CONFIGURATION-832:
------------------------------------
Summary: 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
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)