You can usually do it in 4 easy steps:
- Terminal emulator environment
Ensure your terminal emulator is using UTF-8 encoding. If you're using iTerm on OS X, you can find this in Bookmarks -> Manage Profiles -> Terminal Profiles -> Default. - Shell environment
Configure your shell to use the UTF-8 version of your locale. For example, edit your~/.bashrc
file and change or add this line:export LANG="en_AU.UTF-8"
- Screen configuration
In your~/.screenrc,
file, add this line:encoding UTF-8
- Irssi configuration
In your~/.irssi/config
file in thesettings -> "fe-common/core"
section, add the option:term_charset = "utf-8";
You will need to quit irssi, exit the screen session and log out of the shell completely, then load it all back up again.
Now you too can impress your friends by using stylish words and phrases such as touché,
בְּרֵאשִׁית, בָּרָא אֱלֹהִים, אֵת הַשָּׁמַיִם, וְאֵת הָאָרֶץ
and
起
初
神
創
造
天
地
。
1 comment:
I am sorry, but the signs you posted at the end are UTF-16 chars ;)
Post a Comment