3 Jan 2005 robertc   » (Master)

IRC and utf-8 with irssi screen and xterm.

Its doable - heres a checklist.

first of all ensure you have a utf-8 locale: $LANG should be something like en_AU.UTF-8 (on debian or derived systems you can do this with dpkg-reconfigure locales). This should be done on every system involved. I.e. if you run screen, then ssh to another system, then screen, then irssi, you'll need to do this twice. You'll also need to login again to have LANG set by the system - you can just export it if you like.

now run uxterm, not xterm to start your terminal. (If you use a more primitive terminal, you may need to use a gui menu, or some other means to get it going)

Thats the terminal. Now, for screen (repeat for however many screens are in your chain) - in your ~/.screenrc (if you don't have one, copy /etc/screenrc) put

defutf8 on
. To convert existing screens without restarting...,
Ctrl-A : defutf8 on
, and
Ctrl-A : utf8 on on
(yes on is repeated) should do the trick.

Ok, now for irssi. Just run it and it should work. If it doesn't, check /set term_type - that should be utf8 (or at least, thats what mine is and it works :).

Thanks to the patience of #debian-devel, who suffered many repeated ‽ to get this going..

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!