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 23 Aug 2014, 03:38
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 [6 Posts]  
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?
Subject description: 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: 4230
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 poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4335

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?
Subject description: [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 poster's 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 poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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