[opensuse-support] codepage when ssh
![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
Hi, have a problem with the code-page at a ssh connection: i googled about codepages and ssh connectons, but found nothing useful for my situation: real computer: opensuse tumbleweed virtual computer: opensuse 10.1 doing a ssh fom real to virtual now inside the console i type ° (degree) and it appears at screen correct. now starting a closed source application from this console (that's the reasoned for this virtual opensuse10.1) now when i type special chars like ° (degrees) i get 2 keys, not one as i should. in past, ssh from opensuse 11.4 to 10.1 it was working fine with the correct keys. and its working fine, if i log directly inside the virtual machine, (kde) and start the closed surce there. so i guess, it must have something to do with the ssh connection. how could i modify the ssh command (or doing something else) to have the correct codepage there? (must i maybe change codepage after logging in before start the application? - that would wonder me, because in past i never did something like this.) (and how to see what codepage is used in suse 10.1?) thanks, simoN -- www.becherer.de -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
update: locale inside real login virtual machine inside a konsole: ~> locale LANG=de_DE@euro LC_CTYPE="de_DE@euro" LC_NUMERIC="de_DE@euro" LC_TIME="de_DE@euro" LC_COLLATE="de_DE@euro" LC_MONETARY="de_DE@euro" LC_MESSAGES="de_DE@euro" LC_PAPER="de_DE@euro" LC_NAME="de_DE@euro" LC_ADDRESS="de_DE@euro" LC_TELEPHONE="de_DE@euro" LC_MEASUREMENT="de_DE@euro" LC_IDENTIFICATION="de_DE@euro" LC_ALL= but inside a ssh to this machine: ~> locale LANG=de_DE@euro LC_CTYPE=de_DE.UTF-8 !!!!!!!!!!!!!!!!!!!!! LC_NUMERIC="de_DE@euro" LC_TIME="de_DE@euro" LC_COLLATE="de_DE@euro" LC_MONETARY="de_DE@euro" LC_MESSAGES="de_DE@euro" LC_PAPER="de_DE@euro" LC_NAME="de_DE@euro" LC_ADDRESS="de_DE@euro" LC_TELEPHONE="de_DE@euro" LC_MEASUREMENT="de_DE@euro" LC_IDENTIFICATION="de_DE@euro" LC_ALL= ?????????? -- www.becherer.de -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
Sorry for the noise, i got it: changing my "ssh -X destination" to "LC_CTYPE=de_DE@euro ssh -X destination" get the trick. simoN -- www.becherer.de -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/49cb915af8be4fe9eab238c594dee035.jpg?s=120&d=mm&r=g)
And for the completeness
"LC_CTYPE=de_DE@euro ssh -X destination"will do it only if login by hand from a konsole.
but when neccesarry to do from desktop or script: konsole -e 'ssh -X destination LC_CTYPE=de_DE@euro closedsourceapplication' -- www.becherer.de -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
On 02/10/2018 15.41, Simon Becherer wrote:
update:
locale inside real login virtual machine inside a konsole: ~> locale LANG=de_DE@euro LC_CTYPE="de_DE@euro" LC_NUMERIC="de_DE@euro" LC_TIME="de_DE@euro" LC_COLLATE="de_DE@euro" LC_MONETARY="de_DE@euro" LC_MESSAGES="de_DE@euro" LC_PAPER="de_DE@euro" LC_NAME="de_DE@euro" LC_ADDRESS="de_DE@euro" LC_TELEPHONE="de_DE@euro" LC_MEASUREMENT="de_DE@euro" LC_IDENTIFICATION="de_DE@euro" LC_ALL=
but inside a ssh to this machine: ~> locale LANG=de_DE@euro LC_CTYPE=de_DE.UTF-8 !!!!!!!!!!!!!!!!!!!!! LC_NUMERIC="de_DE@euro" LC_TIME="de_DE@euro" LC_COLLATE="de_DE@euro" LC_MONETARY="de_DE@euro" LC_MESSAGES="de_DE@euro" LC_PAPER="de_DE@euro" LC_NAME="de_DE@euro" LC_ADDRESS="de_DE@euro" LC_TELEPHONE="de_DE@euro" LC_MEASUREMENT="de_DE@euro" LC_IDENTIFICATION="de_DE@euro" LC_ALL=
Yes. Your ssh client is transmitting to the server the local settings. There is some switch to change that somewhere, but this moment I don't remember where. I asked once about a similar problem, I think... but I don't see it in my notes. -- Cheers / Saludos, Carlos E. R. (from openSUSE 15.0 (Legolas))
participants (3)
-
Andrei Borzenkov
-
Carlos E. R.
-
Simon Becherer