Character encoding, char to xml value

uplingino

New Member
I am trying to convert some characters (\t, \r, \n) to XML compatible "values". So '\t' should be \[code\] \[/code\] and \r\n would be \[code\]
\[/code\]. I have tried using \[code\]HttpUtility.HtmlEncode()\[/code\], but without any success.
 
Back
Top