[lfs-support] iso8859-15 spanish accented characters in lfs-7.5
viktoa65 at yahoo.es
Wed May 21 02:56:56 PDT 2014
Dear Mr. Moffat,
thank you for your hint.
this is what I did
in the prompt I wrote:
and tried to type some spanish accented characters á. é, í, ó, ú in console and in vim the result is the same I can only see 'a, 'e, 'i, 'o, 'u
This is not what I want. I want to be able of typing spanish acented characters in console and in vim.
What it works for me is a scipt that does the following
Doing this way I can type in console and in vim wihout using the shorcut of CTR K + `a
However I wanted to know if it is possible to set the booting automatically
Being my LANG and my LC_ALL=es_ES.iso885915 at euro
why does not this setiing allow me to see spanish accented characters á. é, í, ó, ú?
REMARK: this seems a way to set LC_ALL only temporaly, because if I type in the prompt locale LC_ALL="" (empty); after rebooting is LC_ALL=""(also empty)
Maybe you meant to set the LC_ALL permanently, can you show me where to find the information?. I searched arround in LFS but I coudl not find the way how to change it permanently.
El mar, 20/5/14, Ken Moffat <zarniwhoop at ntlworld.com> escribió:
Asunto: Re: [lfs-support] iso8859-15 spanish accented characters in lfs-7.5
Para: "LFS Support List" <lfs-support at lists.linuxfromscratch.org>
Fecha: martes, 20 de mayo, 2014 16:57
On Tue, May 20, 2014 at
03:42:21PM +0100, Ken Moffat wrote:
Tue, May 20, 2014 at 11:17:39AM +0100, ortenzia konyha
> > Dear LFS support,
> > how does it work the script
/etc/rc.d/init.d/console in lfs-bootscript?
> > how does the variable $KEYMAP pass
the argument to loadkeys?
> > My LFS is LFS stable 7.5
> > I am working without X, only in
> > My $LANG is ISO885915 at euro
> > I can see $LANG ISO885915 at euro when I
type set and locale
> That sounds wrong
- ISO885915 at euro is not
LANG and LC_ variables are mostly in the form language
> (lowercase, usually two letters),
underscore, country code
usually two letters), dot, encoding (ISO-8859-1..15,
> UTF-8, and a few others) and optionally an
> such as
'@euro'. The exceptions include C and POSIX which
> knows about even without
> My general recommendation is that people
should use UTF-8, to be
> able to render
any character which their font supports. But if you
> have a lot of files using ISO-8859-15, or
correspond with people who
> also use
8859-15, then I can see reasons to use that encoding.
> I was going to say
"Try LANG=es_ES.ISO-8859-15 at euro
- you probably
> need to set UNICODE=0
with that." but now that I've read the detail
> of what you tried in 'vim' I
don't think you need to use that legacy
> > I have tried several
combinations in my /etc/sysconfig/console:
> > UNICODE=1
> FONT="lat0-16 -m 8859-15"
> > I can see
the ñ, ¡, ? and the € in my console, I cannot see
accented spanish character, á, é, í, ó, ú.
> I was going to
offer this suggestion as an alternative, but I think
> it will probably do what you need: with
those settings in
/etc/sysconfig/console (particularly UNICODE=1) I suggest
experimenting locally, I recommend you set LC_ALL instead
LANG. I have all the locales
installed. When I try e.g.
LANG=lb_LU.UTF-8 I get English (or C) output,
but I get the expected
result if I set
> NB the @euro
modifier doesn't apply to es_ES.UTF-8 altohugh it is
> required for es_ES.ISO-8859-15 at euro.
KEYMAP_CORRECTIONS adds to the console keymap and should
> you the euro and cent symbols on
AltGr-e and AltGr-c.
> > the
LFS-bootschript included the /etc/rc.d/init.d/console,
which installed the following:
> > I compiled Linux-3.13.3 against the
following: make LANG=ISO885915 at euro LC_ALL=
Again, that is not a valid LANG specification. But in that
> it only affects messages from
menuconfig. As far as I klnow,
menuconfig only outputs messages in English.
> > I am in a
Netbook Lenovo s2-10.
> > If I understand correctly the hierchy
of the information is The master run-level control script
runs all the other bootscripts in a sequence gathering
information first from locale (taken from glibc) and
variable $LANG, then look in /etc/sysconfig/console and
later look for loadkeys loading a different keymap
> > is that correct
> "The dead key settings depend on your locale and
character set." (http://unix.stackexchange.com/questions/7493/why-is-the-us-international-keyboard-layout-on-debian-different)
> > then, why
if I compiled against ISO885915 at euro, my
console is not letting me see spanish accented
> My question is about understanding LFS and if possible
> > I can see the spanish
accented characters using loadkeys
> > and in vim
I can use
> > :set enc=utf-8
> > and using CTR+K a+`(accent) = á
> > and so on.
> I started by
assuming you intended to use the 8859-15 encoding, but
> from this I think you will be happy with
> > but,
why if I compiled against ISO885915 at euro, my
console is not letting me see spanish accented
When you build the kernel, the language setting in your
> might allow you to get
translations of the warnings and any error
> messages from 'make'. But the
kernel messages are all in English,
it relies on userspace (glibc) to handle languages.
> > Let me see i you need more output to
help me solve my problem.
> > --
> > http://lists.linuxfromscratch.org/listinfo/lfs-support
> > FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> > Unsubscribe: See the above
> das eine Mal als Tragödie, dieses
Mal als Farce
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information
das eine Mal als Tragödie, dieses Mal als
Unsubscribe: See the above information
More information about the lfs-support