cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CXF-4739) build failure: error: unmappable character for encoding UTF-8
Date Wed, 09 Jan 2013 06:02:12 GMT

    [ https://issues.apache.org/jira/browse/CXF-4739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13547675#comment-13547675
] 

Jin Kwon edited comment on CXF-4739 at 1/9/13 6:02 AM:
-------------------------------------------------------

Thanks for the tip.

I succeeded with -Dfile.encoding=iso8859 flag.
I also succeeded with -Dfile.encoding=cp-949 flag.

I'm just curious.
My OS is Windows(Korean) which has MS949(CP949) and files are generated with ISO 8859-1 encoded.
I don't know where this problem came from. Is it CXF's pom problem? or WSDL/JAXB-scoped problem?

I've never relied on the 'file.encoding' for any maven project which contains multiple languages
in it.

Regards.


                
      was (Author: jinahya):
    Thanks for the tip. I succeeded with -Dfile.encoding=iso8859 flag.

I'm just curious.
My OS is Windows(Korean) which has MS949(CP949) and files are generated with ISO 8859-1 encoded.
I don't know where this problem came from. Is it CXF's pom problem? or WSDL/JAXB-scoped problem?

I've never relied on the 'file.encoding' for any maven project which contains multiple languages
in it.

Regards.


                  
> build failure: error: unmappable character for encoding UTF-8
> -------------------------------------------------------------
>
>                 Key: CXF-4739
>                 URL: https://issues.apache.org/jira/browse/CXF-4739
>             Project: CXF
>          Issue Type: Improvement
>          Components: Build system
>    Affects Versions: 2.7.2
>         Environment: $ mvn --version
> Apache Maven 3.0.4 (r1232337; 2012-01-17 17:44:56+0900)
> Maven home: E:\Programs\apache-maven-3.0.4
> Java version: 1.7.0_10, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_10\jre
> Default locale: ko_KR, platform encoding: MS949
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> $ java -version
> java version "1.7.0_10"
> Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
> Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
>            Reporter: Jin Kwon
>            Priority: Minor
>
> I couldn't build generated sources.
> \api\target\generated\src\main\java\org\apache\cxf\configuration\security\ObjectFactory.java:[5,40]
error: unmappable character for encoding UTF-8
> Each generated sources has something like
> //
> // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference
Implementation, vhudson-jaxb-ri-2.1-2
> // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
> // Any modifications to this file will be lost upon recompilation of the source schema.
> // Generated on: 2013.01.09 at 01:19:13 오후 KST
> //
> Which contains some Korean characters.
> $ file target/generated/src/main/java/org/apache/cxf/configuration/security/ObjectFactory.java
> target/generated/src/main/java/org/apache/cxf/configuration/security/ObjectFactory.java:
HTML document, ISO-8859 text, with CRLF line terminators

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message