J
Jeroen De Brabander
Hi,
I have a webservice that accepts an xml in string format (the application
that consumes the ws only understands strings)
The format of the XML is UTF-16 (character like é and à are needed). It is
valid and wellformed.
When I read the string-input and check what is accepted by the webmethod, I
see ??-symbols for every special character, meaning that the webservice
accepts the string as UTF-8 instead of UTF-16.
My idea to solve this problem was changing the requestEncoding (and
ResponseEncoding) to UTF-16. This wasn't a good idea because this results in
an invalid web.config.
The information on this encoding-topic is quite cryptic (for me). I even
read that 'it is not yet supported'.
How do I solve this issue?
Kind regards,
Jeroen db
I have a webservice that accepts an xml in string format (the application
that consumes the ws only understands strings)
The format of the XML is UTF-16 (character like é and à are needed). It is
valid and wellformed.
When I read the string-input and check what is accepted by the webmethod, I
see ??-symbols for every special character, meaning that the webservice
accepts the string as UTF-8 instead of UTF-16.
My idea to solve this problem was changing the requestEncoding (and
ResponseEncoding) to UTF-16. This wasn't a good idea because this results in
an invalid web.config.
The information on this encoding-topic is quite cryptic (for me). I even
read that 'it is not yet supported'.
How do I solve this issue?
Kind regards,
Jeroen db