为什么我在生成hello.mo时,出错?错误信息如下:
D:\PHP_Project\Php_I18n>msgfmt -o hello.mo hello.po
(null): hello.po:21:11: invalid multibyte sequence 
(null): hello.po:21:12: invalid multibyte sequence 
(null): hello.po:21:13: invalid multibyte sequence 
(null): hello.po:21:14: invalid multibyte sequence 
(null): hello.po:21:17: invalid multibyte sequence 
(null): hello.po:21:20: invalid multibyte sequence 
(null): hello.po:21:25: invalid multibyte sequence 
(null): hello.po:21:26: invalid multibyte sequence
(null): found 8 fatal errors                       
hello.po文件的内容:# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2009-11-30 16:30+0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=gb2312\n"
"Content-Transfer-Encoding: 8bit\n"#: hello.php:12
msgid "Hello World!"
msgstr "世界,你好!"
hello.php文件内容:<?php
   // I18N 程序范例开始
   define('PACKAGE', 'hello');
   // 定义要用的mo文件名称,常规来说,我们都把PACKAGE的名称定义和程序名称相同。
   putenv('LANG=zh_CN');
   setlocale(LC_ALL, 'zh_CN');
   // 指定要用的语系,如:en_US、zh_CN、zh_TW
   bindtextdomain(PACKAGE, './locale');
   textdomain(PACKAGE);
   // The .mo file searched is:
  // /apache/htdocs/locale/en/LC_MESSAGES/hello.mo
   echo gettext("Hello World!");
 ?>请高人指点!