gettext and utf8

"walter fan" <[email protected]>
Newsgroups gmane.comp.php.internationalization
Message-ID <[email protected]>
I have two questions as follows:

1. I wrote some codes
sample.php
<META HTTP-EQUIV="Content-Type"
content="text/html;<?=gettext("charset=iso-8859-1")?>">

messages.po
msgid "charset=iso-8859-1"
msgstr "charset=gb2312"

But I found gettext still return "charset=iso-8859-1"

2.I modified the charset of php files and messages.po to UTF-8

$iconv -f gb2312 -t utf-8 messages_gb2312.po>messages.po
$msgfmt messages.po

But the page didn't display UTF-8 strings.

I still research them. Can you answer me for the two questions?

Thanks & Regards,
Walter Fan

-- 
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.