The workaround solution is escape/unescape
org.apache.commons.lang.StringEscapeUtils.escapeHtml(String str)
Will that solve the problem?
Cheers,
James
> Hi,
>
> here is what I've tried.
>
> A file that is completely encoded in UTF-8 has been unmarshalled and
> the unmarshalling
> works fine except for the fact that the German 'Umlaute' are not correct.
>
> The element content is defined as <text>Stück</text> but the property
> text within the
> Java Bean doesn't contain "Stück" but "St√ºck". I've tried to change
> the encoding but it
> still does not work.
>
> Does anybody has a clue why it is not working?
>
>
> Best Regards,
> -- Roman
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>