I guess the issue could be solved by setting default_charset=UTF-8 in 
php.ini, or putting the following line

<?php header('Content-Type: text/html; charset=UTF-8');  ?>

at the top of yourscript script.

Hope this helps.

Moriyoshi

Donal Regan <[EMAIL PROTECTED]> wrote:

> Hello,
> I'm trying to display some japanese characters in a
> web page but I'm getting rubbish until I change the
> encoding setting in options in the browser to utf-8.
> 
> The japanese strings are read from an xml file, I have
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> 
> as the first line. I create my xml parser using 
> 
> $xmlParser=xml_parser_create("UTF-8");
> 
> and in my html header I have 
> <meta http-equiv="content-type"
> content="text/html;charset=UTF-8">. Is there something
> i'm missing? Any help would be greatly appreciated.
> Cheers, 
> Donal


-- 
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to