User Tools

Site Tools


tips:iso-8859-utf-8-and-irssi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

tips:iso-8859-utf-8-and-irssi [28.08.2011 22:17] (current)
vergo created
Line 1: Line 1:
 +====== ISO-8859, UTF-8 and irssi ======
  
 +This short guide will tell you how to configure irssi so that it will keep showing ISO-8859-15 (or whatever you select) charset letters in terminal no matter what the other users on the channel are using. This way you won't need to worry anymore about UTF-8 junk messing with your terminal that uses ISO-8859-15 or the other way around. Here are the needed irssi commands:
 +
 +<​code>​
 +/set term_charset ISO-8859-15
 +/set recode_fallback ISO-8859-15
 +/set recode_out_default_charset ISO-8859-15
 +/set recode_transliterate on
 +/set recode_autodetect_utf8 on
 +/set recode on
 +/save
 +</​code>​
 +
 +That should do it. There'​s no need to restart irssi assuming the terminal is really using the same charset as set in the term_charset variable. Further explanations about those commands can be obtained with
 +
 +<​code>​
 +/help recode
 +</​code>​
tips/iso-8859-utf-8-and-irssi.txt ยท Last modified: 28.08.2011 22:17 by vergo