lokitang
Posts: 4
Joined: Mon Oct 29, 2012 2:47 am

how to add support for Chinese characters?

Wed Oct 31, 2012 9:08 am

I start up my RPI with wheezy os (updated on 2012-09-18). The bulit-in web browser, Midori, is v0.4.3 and it can support BIG5 characters(not support to simplified Chinese characters/GB). But when I visited one website with BIG5-encoded, Midori cannot display it correctly even I switched to BIG5 decoding manually.

now, questions here:

1. how to add support for Chinese characters for wheezy os?
2. from v0.46, Midori can support BIG5/GB, I tried to compile v0.4.7 under wheezy :cry: , but failed.
any other method to get the new one?

thx.
Gone with Winds.

cjan
Posts: 828
Joined: Sun May 06, 2012 12:00 am

Re: how to add support for Chinese characters?

Wed Oct 31, 2012 10:12 am

1. raspi-config 先設定 locales, 如 zh_TW.utf-8 等
2. 安裝字型 sudo apt-get install ttf-wqy-microhei
3. Midori 選字型 文泉驛微米黑

以上設定在下使用正體中文無誤。

lokitang
Posts: 4
Joined: Mon Oct 29, 2012 2:47 am

Re: how to add support for Chinese characters?

Thu Nov 01, 2012 5:21 am

cjan wrote:1. raspi-config 先設定 locales, 如 zh_TW.utf-8 等
2. 安裝字型 sudo apt-get install ttf-wqy-microhei
3. Midori 選字型 文泉驛微米黑

以上設定在下使用正體中文無誤。
thanks a lot! :!:

I've got it by your step.
Gone with Winds.

lokitang
Posts: 4
Joined: Mon Oct 29, 2012 2:47 am

Re: how to add support for Chinese characters?

Thu Nov 01, 2012 7:16 am

cjan wrote:1. raspi-config 先設定 locales, 如 zh_TW.utf-8 等
2. 安裝字型 sudo apt-get install ttf-wqy-microhei
3. Midori 選字型 文泉驛微米黑

以上設定在下使用正體中文無誤。
now I‘ve got another question:

I installed Chinese input method, fcitx. When start up 'startx', keyboard icon indicator for fcitx had appeared upon the bottom taskbar. Also I added 'keyboard - Chinese' in fcitx configuration and can switch to it when editing in 'Midori' or 'leafpad', but I cannot input any Chinese words yet, it's still English words. how?

thanks.
Gone with Winds.

yuyichao
Posts: 1
Joined: Thu Nov 08, 2012 9:42 pm

Re: how to add support for Chinese characters?

Thu Nov 08, 2012 9:51 pm

First of all, keyboard-chinese is not a Chinese input method, it is the input method correspond to Chinese keyboard layout.

To input Chinese, you need to install and add one of the Chinese input methods, fcitx-pinyin/fcitx-sunpinyin or fcitx-table (which includes wubi) etc.

If you are using fcitx 4.2.4 or later, you will still need to add keyboard-* as
your first input method or you won't be able to input English.

keyboard-chinese and keyboard-english are the same except -chinese cannot provide spell hint (at least for the currently released versions, may change in 4.2.7).

So in all, what you need to do is install fcitx-pinyin (or other input methods you like) and set your input methods list to 1: keyboard-en, 2: pinyin.

More information can be found on fcitx-im.org
Also u r welcome to ask questions about fcitx on our google group (fcitx@ ...)

Return to “Raspberry Pi OS”