mikeshi80
unread,Feb 1, 2008, 1:55:44 AM2/1/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to habari-dev
I submitted a ticket #128 that report the habari's installer NOT
supports Chinese very well. And now I found the reason.
There is no define about encoding in db_setup.php, so the encoding
will be set by the browser's default option. On a chinese version
browser, it will be GB2312. On a japanese browser, it will be Shift-
JIS.
But, after install, the home page will be shown in UTF-8 encoding. and
the data configured when install stage is stored in db as installer's
stage's encoding. For example, in my chinese version firefox, it will
be gb2312, so my chinese blog titile became the unrecognized.
I try to fixed it, and I found if you force the encoding to utf-8, the
installer will work correctly. So, I put the <meta http-equiv="Content-
Type" content="text/html;charset=UTF-8" > in to <head> </head> block.
Now, the installer will show as utf-8 on any browser, and works well.