When I ssh
into my VPS, I have irssi
running in screen. When someone sends a unicode character (such as © or €), irssi
displays garbage when I use it via the screen in a ssh
session. If I connect to that irssi
using irssi's proxy module, from irssi running on my local computer, it shows up correctly.
Likewise, if I run ghci on my VPS (outside a screen) and enter in one of those characters, it crashes.
So, obviously, there is a character encoding issue of some sort with my connection to my VPS, either in ssh or the system setup.
How can I find out what is causing this, and solve it?
Details:
Client system
- Arch Linux x64
- UTF-8 encoding
VPS system
- Ubuntu Server 10.04
- Unknown encoding used. How do I find this? (I just have to look in my /etc/rc.conf for Arch)