[ http://issues.apache.org/jira/browse/AXIS-2122?page=comments#action_12316347 ]
David Brandow commented on AXIS-2122: ------------------------------------- I attached a proposed fix, which is based on the implementation of JavaDeployWriter's getPrintWriter() method. > WSDL2Java - i18n - JavaWriter.java > ---------------------------------- > > Key: AXIS-2122 > URL: http://issues.apache.org/jira/browse/AXIS-2122 > Project: Apache Axis > Type: Bug > Components: WSDL processing > Versions: 1.1, 1.2RC1, 1.2RC2, 1.2RC3, 1.2, 1.2.1 > Environment: All > Reporter: David Brandow > Attachments: JavaWriter.java > > org.apache.axis.wsdl.toJava.JavaWriter's getPrintWriter() implementation > differs from that of org.apache.axis.wsdl.toJava.JavaDeployWriter in that it > doesn't write out the code in UTF-8. As a result, if you have i18n characters > in your WSDL, the Java code that gets generated is incorrect and won't > compile. If you change JavaWriter's getPrintWriter() implementation to match > that of JavaDeployWriter, the generated java is correct and compilable > (assuming you use javac -encoding UTF-8). -- 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
