Why does degree symbol differ from UTF-8 from Unicode?
According to http://www.utf8-chartable.de/ and
http://www.fileformat.info/info/unicode/char/b0/index.htm, Unicode is B0, but UTF-8 is C2 B0 How come?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
UTF-8 is a way to encode UTF characters using variable number of bytes (the number of bytes depends on the code point).
Code points between U+0080 and U+07FF use the following 2-byte encoding:
where
xrepresent the bits of the code point being encoded.Let’s consider U+00B0. In binary, 0xB0 is 10110000. If one substitutes the bits into the above template, one gets:
In hex, this is 0xC2 0xB0.