]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/chinese_character_problem.mdwn
Added a comment
[ikiwiki.git] / doc / forum / chinese_character_problem.mdwn
1 just finished setting up ikiwiki..
2
3 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/>
4
5 I am using the latest ikiwiki(manually installed as non-root user) and CGI::FormBuilder(3.0501) on Debian 4.0
6
7 这个没问题 it is not a problem on ikiwiki website though.
8
9 Thanks.
10
11
12 > Is your system perhaps not configured with a utf-8 default locale? Or ikiwiki not configured to use it?
13 > 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]]
14
15 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"
16
17 sorry being a n00b on this thing  what else can I do?
18
19 > See [[bugs/Missing_constant_domain_at_IkiWiki.pm_line_842]].
20 > Looks like you need to upgrade to a newer version of 
21 > [[!cpan Locale::gettext]] --[[Joey]]