Japanese text not displaying correctly.

[email protected] (Dennis browne)
Newsgroups gmane.comp.php.internationalization
Organization PHPDiscuss.com
Message-ID <[email protected]>
I want to display Japanese text on my site and am having many problems.

I am using Linux Redhat 8, PHP 4.2.

Basically what I have is a file page.php with the following code:

page.php:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<META HTTP-EQUIV="Content-Language" content="ja">
</head>
<body>Home:<br>
<?php
include("lng_page_ja.php"); 

echo "home in japanese:"; 
echo "<br><br>$home"; 

?> 
</body>
</html>

I then have an include file with the Japanese text assigned to the
variable $home.

lng_page_ja.php:
<?php
$home = "ホヌãƒ"; 

?> 

This should output the japanese characters for Home. But all I get is
garbage out.

Why?

What changes dfo I have to do. I do not want to use a database yet to
store the Japanese text.

Any help would be appreciated.

Dennis


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.