Page 1 of 1

How to set a different charset in initrd.gz?

Posted: Sat 22 Sep 2012, 04:36
by walter leonardo
I need to start with puppy linux utf-8 characters for Spanish users.

Posted: Sun 23 Sep 2012, 21:25
by musher0
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: Select all

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,

Posted: Mon 24 Sep 2012, 07:47
by technosaurus
L18L has set this up already.
http://www.murga-linux.com/puppy/viewto ... 774#604774
And Barry did something else.

How to set a different charset in initrd.gz?

Posted: Mon 24 Sep 2012, 09:48
by L18L
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?

Posted: Sat 20 Oct 2012, 10:23
by Argolance
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.

Posted: Sat 20 Oct 2012, 13:19
by Argolance
Hello,
If this could help, looking in the file: /etc/profile (racy 5.3) at lines 97-102:

Code: Select all

#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.