B
bernhard gruber via .NET 247
Hi,
I have a webservice in c#.net.
I want to send all the responses of the webservice encoded in "iso-8859-1", so that german special characters will be displayed correctly.
I put this line in both files, machine.config and web.config:
<globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>
Still every response starts like that:
<?xml version="1.0" encoding="utf-8"?>
UTF-8 (!!) and all the special characters are questionmarks ???
any help would be great
thanks
bernie
I have a webservice in c#.net.
I want to send all the responses of the webservice encoded in "iso-8859-1", so that german special characters will be displayed correctly.
I put this line in both files, machine.config and web.config:
<globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>
Still every response starts like that:
<?xml version="1.0" encoding="utf-8"?>
UTF-8 (!!) and all the special characters are questionmarks ???
any help would be great
thanks
bernie