I have a xml file which has umlauts in it like so:
<NameGe>ËÇ</NameGe>
Is there a way to read this file and write it out like so:
<NameGe>Öç</NameGe>
so basically it should write the numeric/encoded value of the umlaut.
Regards.
I have a xml file which has umlauts in it like so:
<NameGe>ËÇ</NameGe>
Is there a way to read this file and write it out like so:
<NameGe>Öç</NameGe>
so basically it should write the numeric/encoded value of the umlaut.
Regards.
You can do it by overriding
WriteString
ofXmlTextWriter
-
Use
HttpUtility.HtmlEncode
andHttpUtility.HtmlDecode
.