Is the encoding
attribute supported on deserialization?
#204
-
I have an XML document with
and it contains strings with German Umlauts like
which seem to be returned as |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
The support for encoding depends very much on a number of factors. The first one is that is only supported on So, it should work on the JVM/Android platforms when using InputStreams where the underlying StaxParser implementation supports encodings. |
Beta Was this translation helpful? Give feedback.
Ok, this works for me:
Edit: Apparently passing
encoding = null
causes the encoding to be detected correctly. Would you accept a PR that makes this the default value for that parameter, @pdvrieze?