Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 26 Oct 2014, 03:45
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Menu in Puppy not Show Unicode Font ! (Solved)
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Hacao
Guest


PostPosted: Fri 05 Aug 2005, 04:47    Post_subject:  Menu in Puppy not Show Unicode Font ! (Solved)  

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,
Back to top
Kark

Joined: 26 Jul 2005
Posts: 26
Location: Norway/France

PostPosted: Fri 05 Aug 2005, 05:41    Post_subject: unicode in .fvwm95  

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......
Back to top
View user's profile Send_private_message 
Guest
Guest


PostPosted: Fri 05 Aug 2005, 22:14    Post_subject:  

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,
Back to top
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11122
Location: Arizona USA

PostPosted: Sat 06 Aug 2005, 10:58    Post_subject:  

I don't know if this helps, but doopdoop posted this, telling how he replaced standard fonts with unicode fonts.
Back to top
View user's profile Send_private_message 
puppian


Joined: 18 Jul 2005
Posts: 538
Location: PuppyLand

PostPosted: Sun 07 Aug 2005, 12:54    Post_subject:  

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-14mdk.i586.html?hl=com&cs=glibc:PN:0:0: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) Embarassed
Back to top
View user's profile Send_private_message Visit_website 
Hacao
Guest


PostPosted: Sun 07 Aug 2005, 23:50    Post_subject: Fonts Unicode !  

Hi !

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

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-Cool

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 ! Smile

$mcedit (or editor other)


success !


P/S: I'm not yet success with PUPPY 1.04!
Back to top
Bancobusto


Joined: 13 Jun 2005
Posts: 168
Location: Vancouver Island

PostPosted: Sun 07 Aug 2005, 23:54    Post_subject:  

Hacao, I'm happy that you got most of it figured out! Very Happy
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Mon 08 Aug 2005, 00:48    Post_subject:  

Someone please add this to a wiki page or create anew one for it - important? I think so . . .
_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0576s ][ Queries: 12 (0.0059s) ][ GZIP on ]