On Thu, 26 Dec 2002 11:53:26 -0700, Claes Hammer <hammer_at_SKIP.INFORMATIK.GU.SE> wrote:
>Hi
>
>I get
>java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence ...
>when I use swedish characters as ?, ?, ?. Can anyone shed some light over this.
Tj?nare Claes,
I made some quick testcases, because these finnish :) characters causes
sometimes lot of work.
Marshalling element content '???' produces 'äöå'
and unmarshalling that produces correct data to back objects.
I think that works just fine.
Also i think if you are able to use iso-8859-1 encoding in your
xml-data, you can unmarshall those characters as we know them. :)
But probably causes some problems if transfer data between different
platforms.
- Jukka -