You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2008/02/02 17:56:11 UTC

[jira] Resolved: (CONFIGURATION-303) PropertiesConfigurationLayout

     [ https://issues.apache.org/jira/browse/CONFIGURATION-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Heger resolved CONFIGURATION-303.
----------------------------------------

       Resolution: Invalid
    Fix Version/s: 1.6

Got no more feedback on this, so closing as invalid.

Please reopen if you can provide more information. We need at least
- a code fragment how your configuration object is created and initialized
- an excerpt from the properties file you are reading
- the code how you access the configuration
- the expected result
- the actual result


> PropertiesConfigurationLayout 
> ------------------------------
>
>                 Key: CONFIGURATION-303
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-303
>             Project: Commons Configuration
>          Issue Type: Bug
>            Reporter: huhjinsuk
>             Fix For: 1.6
>
>
> I use UTF8 property file.
> private FileConfiguration config;
> ....
> public testGetMessage() throws ConfigurationException { 
>  config.setEncoding("UTF-8"); 
>   layout =   config.getLayout();
>   System.out.println(config.getString(key));  // good.
>   System.out.println(layout .getComment(comment)); //<---
> }}
> It doesn't work well. [getComment] 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.