I am coding a website that has information about temperature. I put the degrees symbol (the tiny circle) but now when my page loads, I get Â? Is there anyway to fix this?
Asked
Active
Viewed 820 times
1
-
Found the answer. I had copied and pasted the degrees symbol straight into Sublime Text. What I should have done was used ° . – ikhaliq15 Jun 05 '16 at 23:28
-
1I believe you can post your comment as the answer to help people that stumble upon this. Not everybody reads the comments under the question. They read the answer first. – El'Magnifico Jun 05 '16 at 23:31
-
@El'Magnifico Thanks, did it. – ikhaliq15 Jun 05 '16 at 23:33
-
You should have a read of [_The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)_](http://www.joelonsoftware.com/articles/Unicode.html), it will help you understand things like this. In this case your HTML file was in UTF-8 encoding, but you were viewing it as (probably) ISO-8859-1. – matt Jun 06 '16 at 12:10
3 Answers
2
Sometimes despite using HTML symbols your browser might render them weird. Check here for a better explanation.

Community
- 1
- 1

prithajnath
- 2,000
- 14
- 17
-
Please consider explaining what could be happening instead of just posting a link. Links have a habit of breaking or moving. – kylieCatt Jun 05 '16 at 23:35
0
You need to use °
as it will render as the degrees symbol.
So let's say you want to write 25°C, you can write:
25°
C

D4v3
- 31
- 11