ikiwiki/doc/forum/chinese_character_problem.mdwn

22 lines
1.2 KiB
Plaintext
Raw Normal View History

2009-01-24 18:37:53 +01:00
just finished setting up ikiwiki..
I can type chinese, save and display it correctly in ikiwiki for the first time. However, when i try to edit the page again, the chinese character in the form is unrecognizable. you can see it here <http://ikiwiki.perlchina.org/>
I am using the latest ikiwiki(manually installed as non-root user) and CGI::FormBuilder(3.0501) on Debian 4.0
这个没问题 it is not a problem on ikiwiki website though.
Thanks.
2009-01-24 18:43:32 +01:00
> Is your system perhaps not configured with a utf-8 default locale? Or ikiwiki not configured to use it?
> Make sure that some utf-8 locale is enabled (in /etc/locale.gen on Debian for example) and try setting `locale` in your > ikiwiki setup file. --[[Joey]]
2009-01-26 11:35:55 +01:00
I have installed locales-all and locale -a shows that zh_CN.UTF-8 is installed(there is no /etc/local.gen file though). then I enabled this line "locale => 'zh_CN.UTF-8'" in my wiki setup and -setup again. but that generated lots error messages "Missing constant domain at (eval 30) line 3"
sorry being a n00b on this thing what else can I do?
2009-01-27 02:02:50 +01:00
> See [[bugs/Missing_constant_domain_at_IkiWiki.pm_line_842]].
> Looks like you need to upgrade to a newer version of
2009-01-27 02:17:02 +01:00
> [[!cpan Locale::gettext]] --[[Joey]]