Skip to content
Toyoyo Toyo edited this page Feb 4, 2022 · 7 revisions

Get international characters working (french accents)

Disable character translation & use a cp1252 font

Set font to: Courier New
Set translation to: Use font encoding

Creating a CP1252 locale on Debian systems.

# localedef -f CP1252 -i /usr/share/i18n/locales/en_US /usr/lib/locale/en_US.CP1252
# mkdir -p /usr/local/share/i18n/
# echo "en_US.CP1252 CP1252" > /usr/local/share/i18n/SUPPORTED
# dpkg-reconfigure locales
# export LANG=en_US.CP1252

Reading a text

$ iconv --from utf-8 --to cp1252//TRANSLIT < text | less

Irssi

/set term_charset cp1252
/set recode_out_default_charset utf-8

Make sure your irssi build is either quite old, or 1.2.1 minimum.

cf: https://github.com/irssi/irssi/pull/1057