Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2937

character encoding in cxf-codegen is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.9
    • 2.5.4, 2.6.1
    • Tooling
    • None
    • windows, sun java 6

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              mgoldhahn Martin Goldhahn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: