abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ck <ch.ko...@googlemail.com>
Subject Re: custom character encoding conversion for abdera?
Date Thu, 15 Apr 2010 18:35:34 GMT
Hi gigi,

every Java-String is encoded in UTF-16. Which means: There is no need
in your case to do some fancy ISO encoding when writing and reading
XML. The one thing you have to pay attention is to tell your jdbc
driver to read/write ISO encoded data from the database.

regards

ck




2010/4/15 gigi2 <ggtech888@gmail.com>:
>
> Hello, Abdera gurus,
>
> I am wondering if there is an easy/plugin-able way to do character encoding
> conversion transparently in the process of marshall/unmarshall of Abdera
>
> Basically, my input/output will always be these UTF-8 XMLs. As the backend
> database is ISO encoded, I hope the result of unmarshall will give me ISO
> strings. And when it comes to marshall, the ISO strings can be transparently
> turned to UTF-8 XML response. Right now I'm using Abdera 0.4.0
>
> I understand there will be chars in the input file not able to get
> converted, if so, I'd be be expecting an error/exception that flags the
> failure
>
> Hope I sound clear. Really hope someone may help out a bit. Thanks a million
> in advance
> --
> View this message in context: http://old.nabble.com/custom-character-encoding-conversion-for-abdera--tp28256299p28256299.html
> Sent from the abdera-user mailing list archive at Nabble.com.
>
>

Mime
View raw message