How should I encode special characters into web pages? For instance I need this symbol ℃, which I used just by copying and pasting the character as I can see it now. This worked for the desktop browsers I checked with and also on iPad and iPhone but nothing is displayed on a Blackberry I used for testing. Is there a standard best practice for this?
http://www.fileformat.info/info/unicode/char/2103/browsertest.htm
Try to replace it with °
, and also to set the charset to utf-8, as Martin suggests.
°C
will get you something like this:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With