Multilinugal pages in php
Posted: Tue Nov 23, 2010 1:57 am
I am having an html code with multi lingual characters displayed. Same code when i use in php format. It gives ??????? instead of the multilingual characters.
Appreciate if any one can help me to resolve this.
PHP code
Appreciate if any one can help me to resolve this.
PHP code
Code: Select all
<?php #String-UTF-8.php
#
#
$help_simplified = '简体中文网页';
$help_tradition = '简体中文网页';
print('<html>');
print('<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>');
print('<body>');
print('<b>Chinese string in UTF-8 in PHP</b><br/>');
print($help_simplified.'<br/>');
print($help_tradition.'<br/>');
print('</body>');
print('</html>');
?>