Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 27821 invoked from network); 2 Feb 2008 16:56:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2008 16:56:33 -0000 Received: (qmail 32768 invoked by uid 500); 2 Feb 2008 16:56:24 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 32498 invoked by uid 500); 2 Feb 2008 16:56:23 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 32489 invoked by uid 99); 2 Feb 2008 16:56:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2008 08:56:23 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2008 16:56:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A73B7714046 for ; Sat, 2 Feb 2008 08:56:11 -0800 (PST) Message-ID: <29299772.1201971371681.JavaMail.jira@brutus> Date: Sat, 2 Feb 2008 08:56:11 -0800 (PST) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (CONFIGURATION-303) PropertiesConfigurationLayout In-Reply-To: <19762785.1200050974040.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.