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 Sat 30 Aug 2014, 18:50
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
How to set a different charset in initrd.gz?
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
walter leonardo


Joined: 10 Dec 2009
Posts: 229

PostPosted: Sat 22 Sep 2012, 00:36    Post_subject:  How to set a different charset in initrd.gz?
Sub_title: utf-8
 

I need to start with puppy linux utf-8 characters for Spanish users.
Back to top
View user's profile Send_private_message 
musher0


Joined: 04 Jan 2009
Posts: 4231
Location: Gatineau (Qc), Canada

PostPosted: Sun 23 Sep 2012, 17:25    Post_subject:  

Hello, Walter.

I think that no utf8 character set, in any language, is available at the start of the Puppy CD.

The best you can do at that point is to specify, at the command line:

Code:
puppy pkeys=es


(Aside from what you wish to insert with pfix=ram, etc.
There is a list of available languages if you press F2.)

After the Puppy boot-up process, once you get into X, then you can choose various more "refined" character sets, for many languages, and also ask for the "utf8" addition.

I hope this helps.
Sincerely,

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send_private_message Visit_website 
technosaurus


Joined: 18 May 2008
Posts: 4347

PostPosted: Mon 24 Sep 2012, 03:47    Post_subject:  

L18L has set this up already.
http://www.murga-linux.com/puppy/viewtopic.php?p=604774#604774
And Barry did something else.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Mon 24 Sep 2012, 05:48    Post_subject: How to set a different charset in initrd.gz?
Sub_title: [quote="technosaurus"]...And Barry did something else.[/quote]: Take a recent puppy and a langpack
 

technosaurus wrote:
...And Barry did something else.
:
Take any recent official puppy (wary, racy, slacko, precise)
install vicmz`s langpack_es 20120905.pet
save, reboot and

charset is utf-8
language is spanish

The trick was loading a consolefont. that can display some (not all, of course) utf8.

Or did you mean something more special?
Back to top
View user's profile Send_private_message 
Argolance


Joined: 06 Jan 2008
Posts: 1825
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 20 Oct 2012, 06:23    Post_subject:  

Hello,
Another way to ask the question: How to get UTF-8 on by default, not at boot while modifying something inside the initrd.gz, but directly at startup inside the Puppy sfs file?
Thank you.

Cordialement.

_________________

Back to top
View user's profile Send_private_message Visit_website 
Argolance


Joined: 06 Jan 2008
Posts: 1825
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 20 Oct 2012, 09:19    Post_subject:  

Hello,
If this could help, looking in the file: /etc/profile (racy 5.3) at lines 97-102:
Code:
#this line gets edited by chooselocale script...
# w004 going back to non-utf8... 101120 back to utf8... 101121 off again...
#110409 change .utf8 to .UTF-8 ...
#LANG=en_US.UTF-8
LANG=en_US
export LANG

Comment, uncomment...
(Thanks to CatDude!)

Cordialement.
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 » Off-Topic Area » Programming
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.0552s ][ Queries: 12 (0.0094s) ][ GZIP on ]