Re: [Simple-support] Russian tags
Brought to you by:
niallg
|
From: Алексей К. <_l...@in...> - 2013-01-27 21:52:07
|
Thank you for answer. Is the way to check first line in XML file <?xml version="1.0" encoding="UTF-8"?> and get "encoding" attribute? Понедельник, 21 января 2013, 22:43 UTC от Niall Gallagher - Yieldbroker <Nia...@yi...>: >This has more to do with the underlying StAX/DOM implementation. Make sure you reading in the UTF-8 charset. > >From: Алексей Киреев [mailto:_l...@in...] >Sent: Tuesday, 22 January 2013 8:03 AM >To: sim...@li... >Subject: [Simple-support] Russian tags > >It is able to deserealize document with russian tags? I try it with no success in inner tags (with @Element(name="russiantag"), outer tags are recognized with @Root(name="russiantag") or @Element(...) or @ElementList(...) > >W/System.err(27616): org.simpleframework.xml.core.ValueRequiredException: Unable to satisfy @org.simpleframework.xml.Element(data=false, name=Адрес, required=true, type=class java.lang.String) on field 'clientAddress' public java.lang.String com.example.sxp.IBClient.clientAddress for class com.example.sxp.IBClient at line 6 > >If i replace russian tags with english - all works ok. |