In my web page a hyphen symbol shows up as \–. I don't know how to resolve this problem, can you help me?
+4
A:
Check if <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
is in the head section of your HTML. Also I think you're speaking about a dash, not hyphen because hyphen is plain ASCII, you could also try using —
HTML entity instead.
Vasily Korolev
2010-03-13 06:07:05
`–` = e2 80 93 (in Windows-1252) = U+2013 (from UTF-8) = `–`.
KennyTM
2010-03-13 06:48:01
@KennyTM Well done! I was to lazy to check.
Vasily Korolev
2010-03-13 13:17:00