4

I'm running ubuntu server 12.04 on VirtualBox.

When connecting via console, I am able to type in Polish characters just fine (both on the command line as well as in VIM).

When connecting via putty, I am unable to type polish chars (AltGr+a produces "a" instead of the polish char)

I would like the system to remain in English however to also be able to type polish characters via ssh.

On putty, under window>translation I set remote char set to UTF-8. I also selected the consoles font with Central European script.

I tried everything I could find on the Internet (installing the polish language pack, dpkg-reconfigure console-setup) but nothing seems to work.

This is what I have for my locale:

LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Thank you very much for all your help!


I figured it out and here is the answer (I can't post it since I don't have enough reputation, spent nearly half a day trying to figure this out and it turned out to be so simple...). Here is the answer:

I fugured it out, thank you very much for all your help nonetheless!

I have win7 and I had my keyboard set to US. I had to go to control panel > region and language > keyboards and languages and add Polish programmer keyboard (adding Polish keyboard but with US layout didn't work). I also set the location to Poland (was US).

This is my work laptop that got rebuilt recently hence I didn't have this set. Polish chars via putty seem to be working perfectly fine now! :)

dreamwalker
  • 171
  • 1
  • 6

2 Answers2

3

I figured it out, thank you very much for all your help nonetheless!

I have Windows 7 and I had my keyboard set to US.

I had to go to Control panelRegion and language > keyboards and languages and add Polish programmer keyboard (adding Polish keyboard but with US layout didn't work). I also set the location to Poland (was US).

This is my work laptop that got rebuilt recently hence I didn't have this set. Polish chars via putty seem to be working perfectly fine now! :)

Anwar
  • 77,855
dreamwalker
  • 171
  • 1
  • 6
0

Do you have the correct locales on the machine? You can find supported locales in by running

$ less /usr/share/i18n/SUPPORTED

Locales mentioned in /var/lib/locales/supported.d/local will be regenerated when running

$ dpkg-reconfigure locales

Otherwise your problem may be your SSH client. If you are using Putty, try the following:

  1. Go to [Connection > Data] and change 'Terminal-type string' to "linux".
  2. Go to [Window > Translation] and change 'Remote character set' to UTF-8.
beruic
  • 865