public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Trouble with international chars in bash (yes I set up .inputrc)
@ 2002-11-05 18:06 João Martins
  0 siblings, 0 replies; only message in thread
From: João Martins @ 2002-11-05 18:06 UTC (permalink / raw)
  To: cygwin

Hi.
I'm having trouble displaying international charecters in bash. I'm 
using the latest cygwin (1.3.14-1), on Windows XP Pro, with latest MS 
updates applied.

I've setup my .inputrc as the faq said:

set meta-flag on
set convert-meta off
set output-meta on

But bash still doesn't display international characters properly. 
Instead it apparently displays the char's scancode. For intance, when I 
press "ç", I get "\347" on the bash prompt.

Curiously, other programs seem to work fine: I can use international 
chars on 'vi' with no problem. If I then set the LESSCHARSET env. var to 
latin1, I can see (using 'less') the resulting file with no problems as 
well. Using 'cat' on that file, however, displays garbage characters.

If I remove the .inputrc file, bash just beeps at my attempts to use 
accented/international chars, as normal, so the options are doing 
something, just not what was expected :)

Has anyone else has seen/fixed this problem ?

-- 
./João


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-06  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05 18:06 Trouble with international chars in bash (yes I set up .inputrc) João Martins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).