I'm using VIM through PuTTY to work on my development server, but it gets rather difficult when I have to work on files containing characters like those mentioned in the title. Not only does it make VIM look like this
Denne applikasjonen krever at Javascript er aktivert. Bruk en nettleser som støtter JavaScript eller aktiver JavaScript i din nåværende nettleser.
But also it completely f*cks VIM up, making the visual caret sitting somewhere completely random relative to where text appears when I'm typing.
The files I'm editing uses ISO-8859-1 encoding
root@foo:~/www/pltest# file --mime-encoding index.php
index.php: iso-8859-1
And PuTTY is set to expect ISO-8859-1 in Settings->Window->Translation. So the only issue can be Debian. If I try typing any of the above characters into the console, random appears:
root@foo:~/www/pltest# ���������
Any idea how I can get Debian to allow ISO-8859-1 symbols?
Solved it (Partly)! Apparently displaying the symbols was as simple as printing out /etc/locale.alias, finding my locale in the list and setting the corresponding language code (in my case nb_NO.ISO-8859-1) to the LANG environment variable. However, I'm still not able to type the characters into the PuTTY window. Any time I try I hear a windows error 'ding'.
Any ideas?