03 Jan 2005

02Jan05

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..

About these ads


No Responses Yet to “03 Jan 2005”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.

Join 877 other followers

%d bloggers like this: