View previous topic :: View next topic |
Author |
Message |
noathustra Tux's lil' helper
Joined: 08 Sep 2003 Posts: 129 Location: NYC
|
Posted: Sat Jan 31, 2004 1:55 am Post subject: Help with using and activating locale |
|
|
I use Gentoo for an X-less server. I connect using ssh. I get some Japanese mail and I want to be able to read it in mutt.
I am given to understand that I need to install and activate appropriate locales. I don't know how to do this and can't find a howto.
Any advice would be greatly appreciated. |
|
Back to top |
|
|
qingl n00b
Joined: 02 Feb 2004 Posts: 6 Location: Changsha, Hunan, China
|
Posted: Tue Feb 03, 2004 11:35 am Post subject: |
|
|
Code: |
locale -a | grep ja
|
Will show you available japanese locales, if you don't see any output, you can use localedef to "produce" one:
Code: |
localedef -i ja_JP -f EUC-JP ja_JP
|
To be able to display japanese, just set environment variable LC_CTYPE to appopriate locale, ie. "export LC_CTYPE=ja_JP" |
|
Back to top |
|
|
qingl n00b
Joined: 02 Feb 2004 Posts: 6 Location: Changsha, Hunan, China
|
Posted: Tue Feb 03, 2004 11:38 am Post subject: |
|
|
If you don't have xserver available, you need to install a virtual console, i myself use zhcon - zhcon.sf.net (framebuffer required) |
|
Back to top |
|
|
noathustra Tux's lil' helper
Joined: 08 Sep 2003 Posts: 129 Location: NYC
|
Posted: Sat Feb 14, 2004 1:27 am Post subject: |
|
|
Thank you for your advice. I because I ssh into the box, I can't use a console that uses the framebuffer. I will keep looking though. |
|
Back to top |
|
|
noathustra Tux's lil' helper
Joined: 08 Sep 2003 Posts: 129 Location: NYC
|
Posted: Fri Feb 20, 2004 6:17 pm Post subject: |
|
|
I solved problem by defining UTF-8 locales for Japanese. I configued putty to read UTF-8 and things are working pretty well. Your advice got me on the right track. Thank you. |
|
Back to top |
|
|
|