In Firefox, we can go to menu and select Web developer and Character decoding and decode your website. We can also hard code in the HTML code to force the website to display the language we want. For example, I want to display Chinese language gb2312, I insert the following code in my HTML between <head> and </head>:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
</head>
Sometimes it may not work well under PHP, you may need to add an extra line in PHP as:
<?php
header ("Content-type: gb2312");
?>
No comments:
Post a Comment