Puppy Can Input Chinese Character

Using applications, configuring, problems
Message
Author
sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

Puppy Can Input Chinese Character

#1 Post by sccat »

Using Fcitx(a XIM server)
Attachments
inputchinese.png
Fcitx In Puppy
(27.01 KiB) Downloaded 880 times
Last edited by sccat on Sat 15 Oct 2005, 05:53, edited 1 time in total.

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#2 Post by puppian »

Puppy is still growing and I guess a lot have to be done before it can fully support Chinese.

I hate to say that, but you may want to check out other linux distros. Or, you can googling with keywords like 'linux', 'Chinese', 'localization' and 'internationalization', learn how to do it and come back to share with us :)

By the way, here is something you maybe interested:
http://www.linuxfans.org/nuke/modules.p ... o&did=3624
This program allows you to enter Chinese (maybe Japanese too?) with any web browser. No configuration needed.

ps. just a reminder, to get more response for your post, try including phrases such as 'thanks', 'many thanks', 'please', etc in your post :)
Last edited by puppian on Sat 03 Sep 2005, 15:35, edited 1 time in total.
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#3 Post by sccat »

Thanks.

Have you got a nls_gb2312.o compiled in GCC 3.0?

Puppy havn't got one.So I can't mount with the "iochareset=gb2312" .And can't see the chinese file name in ROX.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#4 Post by Lobster »

Our primary support is for English.

Here is support for other languages
http://www.goosee.com/puppy/wikka/LanguageSupport
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#5 Post by sccat »

Thanks,I have read the webpage above.

But,I still have to have a nls_gb2312.o module,for viewing the chineses filename in ROX.

I can view the word file/excel file/web file in Chinese,now.

But not the filename in Chinsese in ROX or rxvt/crxvt-gb/mrxvt.

A module for "mount -o iocharset=gb2312" is needed.

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#6 Post by puppian »

You know much more than I do!
:)
I don't know what's nls_gb2312.o
but perhaps THIS would help.
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#7 Post by sccat »

I want Puppy to have a kernel have a Chinese Native Language Support(nls_gb2312/nls_cp936).

It may make Puppy popular in China,a country that has a population of 1.5 billion.

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#8 Post by puppian »

sccat wrote:I want Puppy to have a kernel have a Chinese Native Language Support(nls_gb2312/nls_cp936).
It may make Puppy popular in China,a country that has a population of 1.5 billion.
That would be COOL! 8)
How's your progress? Does the link I gave in the above post (http://packages.debian.org) help?
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#9 Post by sccat »

Yes.It helps.

I have download a 2.4.29 Kernel.

But I havn't got a compile environment.So I download a Vector 5.0.

I haven't Install it yet.I have to prepare for a tough exam (for me)theses days.

Except the Kernel,the Glibc should also be compiled for the locale zh_CN.gb2312.

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#10 Post by puppian »

Good luck to your exam and
look forward to our first Chinese Puppy :)
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#11 Post by sccat »

Thanks.

I'm a newbie in Linux.

Maybe some professional people could finish it.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#12 Post by Lobster »

One possibility for a Puppy Cantonese or Mandarin page is for the page to be created (with specialist fonts) and then saved as a jpg or png which can then be displayed on the wiki for our Chinese friends . . .

If anyone is up for that let me know if any help on the wiki side is required . . .

:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#13 Post by puppian »

From http://wikka.jsnx.com/WikkaBugs :

"1.1.6.0beta4: Simplified Chinese (or Unicode relative) in WikiEdit:
A page contains unicode characters looks OK when viewed but displays ''&#*****;'' while edited in WikiEdit
In 1.1.5.3, I solved this problem by changed some line in ./handlers/page/edit.php
#from
"<textarea onKeyDown=\"fKeyDown()\" id=\"body\" name=\"body\" style=\"width: 100%; height: 500px\">".$body."</textarea><br />\n"
#to
"<textarea onKeyDown=\"fKeyDown()\" id=\"body\" name=\"body\" style=\"width: 100%; height: 500px\">".$this->htmlspecialchars_ent($body)."</textarea><br />\n"

Wikka is wonderful! ZhuangYuyao

* This workaround you outlined will work as well in Wikka 1.1.6.0. A real solution wil take some more investigation though, so we were unable to fix this for the current release. This is now under investigation. --JavaWoman"

It seems that Wikka's support for Chinese is not very good at the moment... don't know if it'll get better in the future versions :(
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005


User avatar
puppian
Posts: 537
Joined: Tue 19 Jul 2005, 03:58
Location: PuppyLand
Contact:

#15 Post by puppian »

the guest above is puppian :oops:
[url=http://puppylinux.org]Puppylinux.org - Community home page of Puppy Linux[/url] hosted by Barry (creator of Puppy), created and maintained by the [url=http://puppylinux.org/user/readarticle.php?article_id=8]Puppy Linux Foundation[/url] since 2005

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#16 Post by sccat »

But there is something strange.

If I want to use fictx(XIM) in leafpad,I must start leafpad in rxvt.
If I start leafpad through menu/Desktop,I can't input chinese.

Why?What's the difference between the 2 methods of starting the promgram?

Chat & abiword also encounter this problem.

Thanks.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#17 Post by GuestToo »

when you start a program from the menu, it is using environmental variables from /etc/profile

for example, in profile, XTERM=linux
in .bashrc, XTERM=xterm

try putting any variables you use, like LANG=... LANGUAGE=... in /etc/profile (or you should be able to put them in /etc/profile.local ... do not forget to export them)

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#18 Post by sccat »

But which XTERM would work.In /etc/profile or in /root/.bashrc?

Thanks.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#19 Post by GuestToo »

i do not know if this is the answer to your problem, but some of the environmental variables are different when you run a program from the menu, compared to in a bash script

in particular, XTERM=linux ... which is limited to ascii characters

on my machine, /etc/profile sets:

XTERM=linux

in a bash script, these are set:

COLORTERM=rxvt-xpm
TERM=xterm

so you could try putting this in /etc/profile.local (create the file if it does not exist)

export COLORTERM=rxvt-xpm
export TERM=xterm

and also maybe something like this (use the correct locale parameters, of course)

export LANG=zh_CN
export LANGUAGE=$LANG
export LC_ALL=$LANG

i do not know if it will work or not

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#20 Post by Lobster »

Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply