Just a thought, but are you sure that the files that cxf-codegen-plugin creates 
are being read as UTF8?
Even if they are valid UTF8 files you still need to tell the compiler that.

Him

On 29 Jun 2012, at 09:01, Stevo Slavić <[email protected]> wrote:

> Hello Apache CXF community,
> 
> An XSD/WSDL (Dutch StUF standard) uses diacritics in string enumerations.
> I'm using cxf-codegen-plugin to generate code from it. Resulting enum
> member names have invalid characters.
> 
> Is there any extension or configuration option for cxf-codegen-plugin or
> xjc to replace these characters to characters without diacritics just for
> the (enum member) names? Values are already correctly being generated as
> UTF-8 characters.
> 
> One solution I'd like to avoid is to use ISO-8859-1 for source encoding.
> 
> Kind regards,
> Stevo Slavić.

Reply via email to