You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2012/05/03 18:52:48 UTC

[jira] [Resolved] (CXF-2937) character encoding in cxf-codegen is wrong

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

Daniel Kulp resolved CXF-2937.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.4
                   2.6.1
    
> 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
>            Assignee: Daniel Kulp
>             Fix For: 2.6.1, 2.5.4
>
>
> We develop on linux and Windows concurrently. Therefor we choose to use UTF-8 as source encoding. We also set the property project.build.sourceEncoding in maven to utf-8.
> Further we have a utf-8 encoded WSDL with some comments in Norwegian (containing letters like åæø). On Windows the generated code contains these characters as ISO-8859-1 even though I set -Dfile.encoding=utf-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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira