The character you are talking about is a hyphen, not a hyphen. Its Unicode code point is U + 2013, and its UTF-8 encoding is E2 80 93 , not C2 96 . This table you are associated with is incorrect. The first two columns have nothing to do with UCS-2 or Unicode; they actually contain windows-1252 encodings for the corresponding characters. Columns labeled "UTF-8 Hex" and "UTF-8 Native" are simply erroneous, at least for lines marked 128 to 159. Objects – and – They are en-dash, but UTF-8 C2 96 represents a non-displayable control character.
In any case, you will not need to encode these characters manually. Just tell the text editor (or what you use to create the content) to save the file as UTF-8.
source share