Menu in Puppy not Show Unicode Font ! (Solved)

Using applications, configuring, problems
Post Reply
Message
Author
Hacao

Menu in Puppy not Show Unicode Font ! (Solved)

#1 Post by Hacao »

Hi !

How to show correct unicode string as "Việt Nam" in MENU (start)!
(default: not Unicode)

How to set default Unicode Font Coding (not add Font Unicode)?

Thanks,

Kark
Posts: 26
Joined: Tue 26 Jul 2005, 07:33
Location: Norway/France

unicode in .fvwm95

#2 Post by Kark »

I had to change the encoding to iso-8859-1 to show Norwegian characters right. I opened the .fvwm95rc file and did my changes, and when closing I simply chose to save as Iso-8859-1. I saw that unicode was also an option, but I don't know if it will work.

bon chance

Kark


I tried it, I could save as utf-8, but the charactrs didn't show correctly in the menu......

Guest

#3 Post by Guest »

Thank you for your help !

I have some question other,

I thinks that, Puppy not support for Unicode UTF-8. If I need UTF-8 for show & typing Vietnamese, Where I must beginning ?

locale ---> C (not Unicode)
localedef ---> not working ! (even in bash)

How to set locale Unicode ?

I can request PUPPY teams help for locale Unicode ?

Thanks,

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#4 Post by Flash »

I don't know if this helps, but doopdoop posted this, telling how he replaced standard fonts with unicode fonts.

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

#5 Post by puppian »

localedef doesn't come with puppy.

however, I found that it is included in the glibc package here:
http://rpmseek.com/rpm/glibc-2.3.2-14md ... 0:0:914910

more info from this post:
http://www.murga.org/%7Epuppy/viewtopic.php?p=8420#8420

after installing it you will get localedef when typed in bash (but i don't know how to use it) :oops:

Hacao

Fonts Unicode !

#6 Post by Hacao »

Hi !

To show Vietnamese web, I only copy all font Unicode (Arial, tahoma, times new,...) to HOME/.fonts and that worked well ! :)

about "localedef" file i copy from VECTOR 5 and it worked !

localedef, i using for locale en_US.UTF-8 before i install Unikey (key board for Vietnamese need en_US.UTF-8 )

Now, I not yet finish lacale to en_US.UTF-8 !

HOW DO IT WITH VECTOR !? --> OK !

------------------------------------------------------

I success in Vector 5 show & typing Vietnamese

1) locale to en_US.UTF-8

$ locale (show LANG=en_US)
$ su
# mcedit /etc/profile.d/lang.sh (or editor other)

- Add # (comment) before "export LANG=en_US"
- Remove # (uncomment) before "export LANG=en_US.UTF-8"
- F2 to saved , F10 to quit

# locale or $ locale (show LANG=en_US.UTF-8)

2) make link en_US.UTF-8 to /usr/share/locale

$ su
# mkdir /usr/share/locale/en_US.UTF-8
# localedef -v -c -i en_US -f UTF-8 /usr/share/locale/en_US.UTF-8
# cd /usr/lib/locale
# ln -s /usr/share/locale/en_US.UTF-8 en_US.UTF-8

3. setup .bashrc or .bash_profile

$ mcedit /home/hacao/.bash_profile (hacao is my account)
Add three row:

export XMODIFIERS="@im=unikey"
export GTK_IM_MODULE="xim"
export LANG=en_US.UTF-8


- Press F2 to saved, F10 to quit.

- Logout or reboot PC

- Check it again:

$ echo $LANG (show en_US.UTF-8 is OK!)
$ echo $XMODIFIERS (show @im=unikey is OK !)
$ echo $GTK_IM_MODULE (show xim is OK!)


4. Setup Unikey (typing Vietnamese)

- Download from http://unikey.sourceforge.net/linux.php
- Unpack to /home/hacao/addon
i have folder: /home/hacao/addon/x-unikey-0.9.2

$ cd /home/hacao/addon/x-unikey-0.9.2
$ ./configure
$ make
$ su
# make install

That all !


I type "unikey" in Xterm to run Vietnamese typing !

$unikey

and open a editor to enjoy ! :)

$mcedit (or editor other)


success !


P/S: I'm not yet success with PUPPY 1.04!

User avatar
Bancobusto
Posts: 168
Joined: Mon 13 Jun 2005, 20:52
Location: Vancouver Island

#7 Post by Bancobusto »

Hacao, I'm happy that you got most of it figured out! :D

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

#8 Post by Lobster »

Someone please add this to a wiki page or create anew one for it - important? I think so . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply