Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 3845 invoked from network); 31 May 2007 08:02:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 08:02:37 -0000 Received: (qmail 68171 invoked by uid 500); 31 May 2007 08:02:40 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 68147 invoked by uid 500); 31 May 2007 08:02:40 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 68138 invoked by uid 99); 31 May 2007 08:02:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 01:02:40 -0700 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; Thu, 31 May 2007 01:02:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AE3C871417D for ; Thu, 31 May 2007 01:02:15 -0700 (PDT) Message-ID: <14384948.1180598535681.JavaMail.jira@brutus> Date: Thu, 31 May 2007 01:02:15 -0700 (PDT) From: "Andrew McIntyre (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2161) MessageBuilder can write the properties file using the wrong encoding. In-Reply-To: <31865788.1165506381003.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/DERBY-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew McIntyre updated DERBY-2161: ----------------------------------- Fix Version/s: (was: 10.3.0.0) Setting fix version to Unknown. Fixing this issue is not a requirement for any future release. Need to determine the proper behavior for MessageBuilder when processing newilnes in message files. > MessageBuilder can write the properties file using the wrong encoding. > ---------------------------------------------------------------------- > > Key: DERBY-2161 > URL: https://issues.apache.org/jira/browse/DERBY-2161 > Project: Derby > Issue Type: Bug > Components: Build tools > Affects Versions: 10.3.0.0 > Reporter: Daniel John Debrunner > Assignee: Andrew McIntyre > Attachments: derby-2161-v1.diff > > > MessageBuilder uses java.io.FileWriter to write the properties files which picks up the default encoding, but properties files have a defined encoding ISO 8859-1 with unicode esacape sequences. I don't see anything in the build.xml that forces the encoding or when running the task. Also I don't see any code that implements Unicode escapes. > I think a better approach would be to use the Properties class to write the properties file, then we don't have to try and maintain the same logic for formatting the output file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.