bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash and Unicode


From: Jakub Jankiewicz
Subject: Re: Bash and Unicode
Date: Fri, 21 Sep 2012 09:56:00 +0200

On Fri, 21 Sep 2012 09:11:45 +0200
Andreas Schwab <address@hidden> wrote:

> Your keyboard input apparently uses UTF-8 encoding, so the single
> character ó is represented by two bytes with the values 195 and 179.
> This has nothing at all to do with the shell, most likely your locale
> settings are messed up.
> 
> Andreas.
> 

Does it mean that, Unicode work normal with bash and it display one
character when everything is right? Does this code work on different
systems:

python -c 'print "ó"'

I could report it to Ubuntu, but maybe it's something larger or
smaller. Maybe it's a bug and no one nice that or just misconfiguration.

In locale I have pl_PL.UTF-8 which I didn't change and everything work
except bash.

I have the same issue on Red Hat 4.4.6-3 run via ssh, but maybe it's
with how keyboard is handled (python run inside ssh work the same but
not from command line).

How bash handle input? Using readline right? So next thing I should
check is to look there, right?

Do you know what kind of steps and different libraries/code are
executed from time when user hit the key to the time when character is
process with bash? So I can track back and check each step.

Linux Driver, Readline, bash - are there more?

--
Jakub Jankiewicz, Web Developer
http://jcubic.pl

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]