Edit History Actions Discussion

Diff for "FAQ/Unicode"

Differences between revisions 3 and 4
Revision 3 as of 2006-07-29 07:26:20
Size: 759
Comment:
Revision 4 as of 2006-08-01 18:05:03
Size: 758
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
echo 'export LC_ALL="en_US.UTF-8"' >> ~/.profile}}} echo 'export LC_ALL="en_US.UTF-8"' >> ~/.bashrc}}}

Question

Does the shell provide Unicode support?

Answer

Yes.

Problem

Localized characters doesn't look good. (replaced by questionmarks etc)

Solution

Write this command at the shell prompt

echo 'export LC_ALL="en_US.UTF-8"' >> ~/.bashrc

Next time you log in your shell will be in unicode.

To use unicode in irssi, type this in the command prompt in irssi:

/set term_charset UTF-8

Use this command if you want to send text in another charset to other users that are still using ISO for example:

/set recode_out_default_charset iso-8859-1

Remember that you have to change the charset in your SSH-client aswell! Use the translation option in putty for example.


["CategoryFAQ"]