Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 25838 invoked from network); 11 Aug 2010 13:34:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Aug 2010 13:34:51 -0000 Received: (qmail 93794 invoked by uid 500); 11 Aug 2010 13:34:51 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 93708 invoked by uid 500); 11 Aug 2010 13:34:50 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 93270 invoked by uid 99); 11 Aug 2010 13:34:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 13:34:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 13:34:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7BDYMNm010471 for ; Wed, 11 Aug 2010 13:34:22 GMT Message-ID: <11111255.275581281533662354.JavaMail.jira@thor> Date: Wed, 11 Aug 2010 09:34:22 -0400 (EDT) From: "Martin Goldhahn (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (CXF-2937) character encoding in cxf-codegen is wrong In-Reply-To: <2553176.275561281533661660.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2937?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Goldhahn updated CXF-2937: --------------------------------- Description:=20 We develop on linux and Windows concurrently. Therefor we choose to use UTF= -8 as source encoding. We also set the property project.build.sourceEncodin= g in maven to utf-8. Further we have a utf-8 encoded WSDL with some comments in Norwegian (conta= ining letters like =C3=A5=C3=A6=C3=B8). On Windows the generated code conta= ins these characters as ISO-8859-1 even though I set -Dfile.encoding=3Dutf-= 8 on the maven command line. A workaround is to set the property project.build.sourceEncoding in a maven= profile and activate it by OS. was: We develop on linux and Windows concurrently. Therefor we choose to use UTF= -8 as source ancoding. We also set the property project.build.sourceEncodin= g in maven to utf-8. Further we have a utf-8 encoded WSDL with some comments in Norwegian (conta= ining letters like =C3=A5=C3=A6=C3=B8). On Windows the generated code conta= ins these characters as ISO-8859-1 even though I set -Dfile.encoding=3Dutf-= 8 on the maven command line. A workaround is to set the property project.build.sourceEncoding in a maven= profile and activate it by OS. > character encoding in cxf-codegen is wrong > ------------------------------------------ > > Key: CXF-2937 > URL: https://issues.apache.org/jira/browse/CXF-2937 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.2.9 > Environment: windows, sun java 6 > Reporter: Martin Goldhahn > Fix For: 2.2.10 > > > We develop on linux and Windows concurrently. Therefor we choose to use U= TF-8 as source encoding. We also set the property project.build.sourceEncod= ing in maven to utf-8. > Further we have a utf-8 encoded WSDL with some comments in Norwegian (con= taining letters like =C3=A5=C3=A6=C3=B8). On Windows the generated code con= tains these characters as ISO-8859-1 even though I set -Dfile.encoding=3Dut= f-8 on the maven command line. > A workaround is to set the property project.build.sourceEncoding in a mav= en profile and activate it by OS. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.