Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 56254 invoked from network); 4 Aug 2006 13:07:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Aug 2006 13:07:52 -0000 Received: (qmail 45566 invoked by uid 500); 4 Aug 2006 13:07:51 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 45548 invoked by uid 500); 4 Aug 2006 13:07:51 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 45537 invoked by uid 99); 4 Aug 2006 13:07:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 06:07:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Aug 2006 06:07:50 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E480D410025 for ; Fri, 4 Aug 2006 13:05:14 +0000 (GMT) Message-ID: <13715453.1154696714933.JavaMail.jira@brutus> Date: Fri, 4 Aug 2006 06:05:14 -0700 (PDT) From: "Thoralf Rickert (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Updated: (TORQUE-49) Encoding will not be used in insert-sql if it is used in generation task In-Reply-To: <9328181.1154696593912.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/TORQUE-49?page=all ] Thoralf Rickert updated TORQUE-49: ---------------------------------- Affects Version/s: 3.2 > Encoding will not be used in insert-sql if it is used in generation task > ------------------------------------------------------------------------ > > Key: TORQUE-49 > URL: http://issues.apache.org/jira/browse/TORQUE-49 > Project: Torque > Issue Type: Bug > Components: Generator > Affects Versions: 3.2 > Reporter: Thoralf Rickert > Priority: Trivial > > My schema.xml is encoded in UTF-8 and torque generates a SQL file in UTF-8. But when I run "insert-sql" the TorqueSQLExec task decodes the file with the system encoding because it doesn't know that the SQL file was encoded in UTF-8. > My current solution is to set the attribute encoding="UTF-8" in the "torque-sql-exec" task call in my build-torque.xml. > But I think torque should know the encoding of the files that it generates. It could be set (for example) in the sqldb.map file or by using special filename extension like .utf8.sql -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org