Hello, I am experiencing a weird behavior of utf-8 when g++ sends compilation info to the screen.
In one case (the "remote" case) I use a cygwin x-term to issue a ssh to connect to the target machine B, but I must connect to a firewall machine A first. Therefore I typically use a single command ssh -X -t [EMAIL PROTECTED] ssh -X [EMAIL PROTECTED] In this case, all g++ messages to the screen come out correctly. The non-ascii characters are typically curved quotes. In a second case I am local and do not need to login to the firewall machine so I do ssh -X [EMAIL PROTECTED] Here the g++ messages to the screen come out wrong. Anything that is in between curved quotes does not show up including the quotes. This has the disruptive effect of making all compiler error messages useless since the symbols between quotes are not visible and I can't tell what the compiler is complaining about. All I see is the character *a* with a circumflex accent on top of it. I always thought the problem was the cygwin x-term not being able to handle utf-8 but now I know this is not the problem since the remote case works fine. The puzzling thing is that if I am local but I do a remote login, I have problems with non-ascii characters. However if I am non-local and I do (need to) a remote login, everything is fine. Sorry for the long description of the problem. Any insight appreciated. Thanks, -- Valmor My locale is: LANG= LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=en_US.utf8 ->emerge --info Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.9 i686) ================================================================= System uname: 2.6.22.9 i686 Intel(R) Xeon(TM) CPU 2.66GHz Timestamp of tree: Sat, 17 Nov 2007 04:30:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 -- [EMAIL PROTECTED] mailing list