2
4

1 回答 1

10

Currency symbols are perfectly "HTML safe". What you have is an encoding problem. You are outputting these characters encoded in one encoding (likely Latin-1), but your browser is interpreting them in some other encoding (likely UTF-8). The actual encoding and the declared encoding need to match. Follow Handling Unicode Front To Back In A Web App to see where your problem is.

于 2012-06-14T14:29:42.440 回答