-
2Thats an A with a circumflex. Does that answer your question? If you want to know why it is there you need to provide way more information, including your code– chrislFeb 5 at 18:22
-
Everything @chrisl said. Plus you should know that there are multiple, at least two, Unicode sequences that will generate that same representation.– timemageFeb 5 at 18:28
1 Answer
The degree sign (°) is Unicode character U+00B0 (i.e. code point 0xb0). In UTF-8, it is encoded as the two-byte sequence 0xc2 0xb0. Your browser is not aware that the page is encoded as UTF-8, and for some reason it believed it is ISO-8859-1. This two-byte sequence, interpreted as ISO-8859-1, represents the two characters “” and “°”.
The simplest solution might be to add
<meta charset="utf-8">
at the top of the <head>
element of the Web page.
-
3
-
OUTSTANDING! Edgar's single line suggestion solved the problem! The ESP32 page looks perfect now.– Rachel RFeb 5 at 21:15
-
@RachelR And Grimaldi's suggestion is the Only Right<TM> solution. ;-) Please mark the answer you see fit best as "accepted". You might want to take the tour to learn how this site works. Feb 6 at 7:12
-
@thebusybee: Do you mean there is something Wrong™ in encoding Web pages in UTF-8? Feb 6 at 12:13
-
1@thebusybee: Only tangentially related to this discussion... I just stumbled on WebOne, a HTTP proxy that makes old browsers usable in the modern Web. Looks like a cool project, and I thought it may be of interest to you. Mar 6 at 20:41