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

huhjinsuk updated CONFIGURATION-303:
------------------------------------

    Description: 
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] 


  was:
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. 



> PropertiesConfigurationLayout 
> ------------------------------
>
>                 Key: CONFIGURATION-303
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-303
>             Project: Commons Configuration
>          Issue Type: Bug
>            Reporter: huhjinsuk
>
> 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.

Reply via email to