0

This is the answer:

\u003c html\u003e \u003c body\u003e Esta búsqueda ya se ha completado . \u003c / body\u003e \u003c / html\u003e

And it should be:

<html><body>Esta búsqueda ya se ha completado.</body></html>

The script that I have used:

    public String reemplazarCaracteres(String texto)
    {
        UTF8Encoding utf8 = new UTF8Encoding();
        Byte[] encodedBytes = utf8.GetBytes(texto);
        String decodedString = utf8.GetString(encodedBytes);

        return decodedString;

    }

Thank you.

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364
  • 1
    Take a look at Adam's `DecodeEncodedNonAsciiCharacters()` method here http://stackoverflow.com/questions/1615559/converting-unicode-strings-to-escaped-ascii-string – Samon Aug 08 '15 at 08:44
  • Thank you, works like a charm. Just I Would like adding that, you need using System.Text.RegularExpressions; in order to use Regex. – Kimera Kimeraweb Aug 08 '15 at 13:37

0 Answers0