LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i input chinese text ?????????? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-input-chinese-text-213052/)

S2001LTD 08-03-2004 05:29 PM

how do i input chinese text ??????????
 
I am running linux 9 i need help like in widnows it is easy to set up the ime but how do i do it in linux is there a program or something within linux plz help me i really need to input chinsese text

thanks
S2001LTD

Charalambos 08-03-2004 05:32 PM

now what distribution is linux 9 exactly?

S2001LTD 08-03-2004 05:42 PM

all i know it is red hat linux 9 total new at this

Charalambos 08-03-2004 05:53 PM

uuhh, i'm not used to red hat, but there should be some configuration panel somewhere where you can change the mapping of the keyboard.
If you're under x (~graphical desktop environment) you should find something like "System Settings" or somesuch under the Main Menu.

Charalambos 08-03-2004 05:55 PM

I just found this in red hats documentation. That should do the trick.

Quote:

If you wish to change your keyboard type after you have installed your Red Hat Linux system, become root and type either /usr/sbin/kbdconfig or setup at the root prompt.

S2001LTD 08-03-2004 06:20 PM

freewnn is started but now how input it is there a command or something i am still not able to write it so plz help me out some more thanks

JDW 08-05-2004 05:12 PM

how do I input chinese text?????
 
Hi,

When you installed Red Hat 9 did you select Simplified and/or Traditional Chinese as additional languages? If you did then the install process would have installed all the necessary files and applications for you to be able to read write etc. in Chinese.

Assuming that you did select Chinese, and also assuming that you want to use a GUI desktop interface such as KDE or GNOME, then when you are at the login screen and you type in your username and password, you should be able to easily select Chinese as your language of choice for your current session by clicking on the Language button. Very nice & easy, and when you are logged in you can run at a terminal window command line :

$ chinput & oowriter

this will start the chinput XIM server and then by pressing CTRL + SPACE you can toggle between Chinese and English input. (Toggle CTRL + SHIFT to choose different input methods such as Pinyin, Cangjie, Cantonese etc).

If you didn't selected Chinese as an additional language when you installed Red Hat, then you can a) install again (probably the easiest way for a relative beginner to Linux) or b) do it the "fun" way by installing all the Chinese font files, the zh_CN and zh_TW locale files, IME applications such as xcin and chinput and kde-i18n packages. All the required files are on the distribution CDs.

Hope this helps, if not, ask again and we'll help you get it up and running. BTW, if you type "chinese input" in the search field in LQ Forums you will see many posts, questions & answers on this topic, and if you can spare the time to read through them it will help you a lot.

jdw

ps to charalambos, JTLYK languages like Chinese, Japanese & Korean use multibyte character sets, and thus do not use the normal keyboard mappings, but require IME servers to map series of keyboard strokes to characters...cheers!

fhleung 09-21-2004 05:56 AM

Hello,

I am just newbie in Linux and I want to read Chinese in Linux platform.

I took a look in thread
http://www.linuxquestions.org/questi...t=read+chinese

I think I did not choose Chinese when install Red Hat 9 in the very begining, I have installed xcin with apt-get. So how to set chinese user to have access with the libxcin file?

Thank you for the help.

JDW 09-21-2004 05:04 PM

how do I input chinese text?????
 
Hi,

You will need to make sure that you have the Chinese locale files installed, as well as some Chinese font files and if you are using KDE the kde-i18n files for Chinese.

My advice though, it is easier to just back up any files you may want to save and just reinstall RH9 and select Traditional and Simplified Chinese when asked to (not as your install language (about the first screen you come to) but the screen where it asks you for additional languages. Then when you log into your GUI system it gives you the option of choosing a language for that session, you can select Chinese from the list.

Otherwise you will have to find the relevant rpm packages for the locales, fonts etc. on your distro CDs, they are all there, once all these are installed you should be able to get it all going.

have fun!

jdw

fhleung 09-21-2004 10:55 PM

What I want is just read a file with Chinese characters inside in the console windows.

I have reinstall the RedHat9 and choose serveral languages. I can read the selected languages in browser.

But I still can not read file with Chinese characters inside. Please figure out how to do it for me. Do I need to export something in users?

"when you log into your GUI system it gives you the option of choosing a language for that session, you can select Chinese from the list."

[root@localhost day5]# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

JDW 09-21-2004 11:08 PM

how do I input chinese text?????
 
hi,

ok, I'm assuming you are logged in a Desktop environment such as Gnome or KDE and want to use a console window like "Konsole" or "xterm", here's what you can do :-

in the console window, at the command line (of course!), type the following commands :-

$ export LANG=zh_CN.UTF-8
$ export LC_ALL=zh_CN .UTF-8
$ export LC_CTYPE=zh_CN.UTF-8
$ export XMODIFIERS=@im=xcin // or chinput, fcitx etc.

you can change the above to zh_TW.UTF-8 if you need Traditional Chinese.

what the above does is change the locale FOR THAT CONSOLE SESSION to Chinese, which allows the console window program to process and display Chinese characters, which are very different to Latin characters of course.

The XMODIFIERS line tells bash to use xcin as the input method software...so if you just want to read Chinese you don't really need to put this...

good luck...

jdw

fhleung 09-22-2004 07:24 PM

Thank you so much JDW, it really help¡D¡@¢×can now read Chinese and also input Chinese. I just reinstall the RH9 and select the languages in the begining of the installation.

Now I¡@¢ï¢÷¢ü¡@¢é¢ö¢÷¢ü¢ð¢í¢ú¡@¢ø¢ú¢÷¢ê¢ô¢í¢õ¡A¡@¢×¡@¢ë¢é¢ö¡@¢ö¢÷¢ü¡@¢ð¢í¢ô¢ø¡@£@¢ñ¢ü¢ð¡@¢ü¢ð¢í¡@¢Ñ¢ð¢ñ¢ ö¢í¢û¢í¡@¢ñ¢ö¢ø¢ý¢ü¡@¢ê¢÷£A¡@¢ü¢ð¢é¢ü¡@£B¢÷¢ý¡@¢ë¢é¢ö¡@¢ë¢ð¢÷¢÷¢û¢í¡@¢ì¢ñ¢î¢î¢í¢ú¢í¢ö¢ü¡@¢ó¢ñ¢ö¢ì¢û¡ @¢÷¢î¡@¢ñ¢ö¢ø¢ý¢ü¡@¢õ¢í¢ü¢ð¢÷¢ì, it pop out suddely.

fhleung 09-22-2004 07:27 PM

The Chinese input tools even affect the display of the last post. I can not help the pop out of the Chinese input box, that for selection of different input methods.

How can I¡@¢ë¢ô¢÷¢û¢í¡@¢ü¢ð¢í¡@¢ê¢÷£A¡H

¢â¢ð¢é¢ö¢ó¡@£B¢÷¢ý¡@¢÷¢ö¢ë¢í¡@¢é¢ï¢é¢ñ¢ö¡@¡@¡×¡^

JDW 09-22-2004 07:35 PM

to close the input box, i.e. toggle between Chinese and English, press CTRL + SPACE. To toggle the different kinds of input methods, press CTRL + SHIFT...

fhleung 09-22-2004 07:49 PM

Thank you once again JDW


All times are GMT -5. The time now is 10:24 PM.