HTML symbols problem

Hello, in a web page I would like to find a special character, so I get the WWW.text and do a string.IndexOf() to find the character “™” but I does not find it. Searching “\u2122” does not change anything. Why?

There are several ways how the trademark symbol might be encoded in a HTML page. Have a look at this page.

If your HTML text is encoded in UTF8 it might actually be a unicode character. However it could be encoded as


If your “web page” is really a RESTful service endpoint that serves up JSON, you might want to use JsonUtility.FromJson to parse the object. That might decode the strings correctly for you to begin with.