1

I have these strings:

\x22vi\x26#7879;t\\u003Cb\\u003E nam\\u003C\\/b\\u003E\x22
\x22vi\x26#7879;t\\u003Cb\\u003E nam net\\u003C\\/b\\u003E\x22
\x22vi\x26#7879;t\\u003Cb\\u003E b\x26#7843;n \x26#273;\x26#7891;\\u003C\\/b\\u003E\x22
\x22vi\x26#7879;t\\u003Cb\\u003E ti\x26#7871;n\\u003C\\/b\\u003E\x22

I get it from google autocompleter with keyword is việt. How to convert it to normal string by C#?, like this:

việt nam
việt nam net
việt nam bản đồ
việt tiến

Note: that strings can have unicode character. Thank for your help!

NoName
  • 7,940
  • 13
  • 56
  • 108
  • possible duplicate of [Converting Unicode strings to escaped ascii string](http://stackoverflow.com/questions/1615559/converting-unicode-strings-to-escaped-ascii-string) – Massimiliano Sep 03 '12 at 04:42

1 Answers1

2

read this

Convert a Unicode string to an escaped ASCII string

http://konfabulator.wikia.com/wiki/Convert_HTML_entities

Community
  • 1
  • 1
Khurshid
  • 954
  • 7
  • 19