0
4

1 回答 1

0

A good way to achieve this is declaring the encoding of the page, either modifying the HTTP header or using a <meta> tag. In this case, the UTF-8 encoding will fit the requirements.

HTTP header:

Content-Type: text/html; charset=utf-8

HTML (will be overridden by the HTTP header):

<meta charset="UTF-8">
于 2012-10-28T09:58:03.733 回答