Gilles Devaux wrote:

Hi,
I was trying to encode the special character '�' (code 233). The marshalling was OK as I specified "UTF-8" in the marshalDocument() method (the produced XML document had the correct character) . The unmarshalling was not OK as I used 'null' as decoding parameter. Specifying "UTF-8" in the unmarshalDocument() solved the problem.
The thing is that I'm using jibx-soap where the encoding charset is hard-coded "UTF-8" and tthe decoding charset is hard-coded "null". Creating a new jar with "UTF-8" as the decoding charset solved the problem. A nice feature for jibx-soap alpha 0.3 - or maybe beta because it's truely the only problem I had with JiBX so far - would be to be able to specify the charset in "unmarshallSOAP" and "marshallSOAP".
Thanks
Gilles

Please enter this in Jira as a JibxSoap issue. I don't know why the encoding wouldn't default to UTF-8 on the input side in this case; that should happen automatically.


 - Dennis


------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to