Make browser render page as UTF-8
Use the following meta-tag:<head> <!-- set response header: Content-Type: text/html; charset=UTF-8 --> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <!-- for HTML5 use the following: <meta charset="UTF-8"> --> </head>Also save the html file with UTF-8 encoding.
Make browser render css as UTF-8
Use the following meta-tag:/** Content-Type: text/css; charset=UTF-8 */ @charset "UTF-8";Also save the css file with UTF-8 encoding.
No comments:
Post a Comment