I'm unable to use extended (french) characters (in the range 128-255, used in most non-english countries) in gnome-terminal, it's working with gnome-terminal under RedHat, and with xterm under gentoo. When I try to type a '
I'm unable to use extended (french) characters (in the range 128-255, used in most non-english countries) in gnome-terminal, it's working with gnome-terminal under RedHat, and with xterm under gentoo. When I try to type a 'é', it is not send to the running program or shell When I 'cat' a file with thoses characters, they are not displayed. I can't find any option in preferences about that Reproducible: Always Steps to Reproduce: stty -a: speed 38400 baud; rows 42; columns 80; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke emerge info: Portage 2.0.46-r12 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss apm avi crypt cups encode jpeg libg++ libwww mikmod mmx mpeg ncurses pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb gdbm gif gnome-libs gpm gtk guile imlib java kde ldap motif nls oggvorbis opengl pam png python qt readline sdl slang ssl tcpd X -3dnow aalib acpi alsa bonobo dga dvd esd evo gb gd ggz gnome gphoto2 gps gtk2 gtkhtml innodb ipv6 jikes junit lcms libgda mbox mozilla mysql nas nocardbus oav pda perl pic plotutils postgres samba scanner slp snmp sse -svga tcltk tiff wmf xface xml zlib" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
what gnome-terminal are we talking about exactly ?
$ /usr/bin/gnome-terminal --version Gnome gnome-terminal 2.2.1 In gnome-terminal: $ echo -e \\351 \\352 ? ? In xterm: $ echo -e \\351 \\352
$ /usr/bin/gnome-terminal --version Gnome gnome-terminal 2.2.1 In gnome-terminal: $ echo -e \\351 \\352 ? ? In xterm: $ echo -e \\351 \\352 é ê
This works for me, what are your font settings? and the output of "locale" would be nice same version, font: Luxi Mono 8, and works perfectly (once I've started bash which has a echo -e command ;)
bash-2.05b$ locale LANG=POSIX LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= Where can I change this for users, in /etc/profile ? (font is the default for Gnome: Sans Regular 11) Another bug??: When switching Terminal/Character Coding/Unicode (UTF-8) I can put extended characters as expected, but to delete on, I have to use backspace two times, (thoses characters are coded on 2 bytes), cursor is then going back two times, and visually, two characters are delete, in buffer, only one (extended) is.
spider or ska-fan localization guys, please have another look here and close if appropriate.
S
Sébastien: Please try to run LANG=fr_FR gnome-terminal and see if your accents work there.
In gnome-terminal: LANG=fr_FR => Does not work In gnome-terminal: LC_ALL=fr_FR => Does not work In a shell: export LANG=fr_FR; gnome-terminal => Does not work in new gnome-terminal window In a shell: export LC_ALL=fr_FR; gnome-terminal => Does not work in new gnome-terminal window
ok, you shouldnt start trying that from a gnome-terminal. You should run an xterm, make sure there are no gnome-terminals running and then try to run gnome-terminal with said settings. Only then it will use those settings. With the settings mentioned above i could echo the above mentioned chars just fine.
probably works right, usd wrong settings