On Mon, Apr 28, 2008 at 02:42:05PM +0400, George Potapov <[EMAIL PROTECTED]> 
wrote:
> It works fine when I use ru_RU.UTF-8 locale. But when I try to use 8bit locale
> ru_RU.CP1251 it shows latin1 chars instead of cyrillic.

How do you set the locale? Can you check in the ctrl-midle-click popup
that you really set the correct locale? Also, can you check with the "locale"
command wether the locale you set in your environment really exists?

> Note symbols in ls output. It seems to me that urxvt just ignores locale
> setting and so cyrillic letters translate to their latin1 couterparts in
> ascii part of unicode table.

It seems to, but this isn't the case.

> And when I try to start urxvt with cp1251 font like this:
> 
> LC_ALL=ru_RU.CP1251
> urxvt -fn '-xos4-terminus-medium-r-*-*-16-*-*-*-*-*-microsoft-cp1251'

do you ever export LC_ALL? otherwise, it will likely not be set when urxvt
runs.

> i get error:
> 
> urxvt: unable to load base fontset, please specify a valid one using -fn,
> aborting.

Yes, urxvt doesn't support the proprietary microsoft codesets (they have
never been standardised), just use the iso10646 or koi8-* versions of
terminus (or let urxvt choose a font).

> I suspect urxvt doesn't support old 8bit encodings. Is that so?

urxvt doesn't support any encodings at all for terminal output, it uses
the ISO C functions in your libc for this. This means that if something
goes wrong, it is either a configuration problem or a limitation in your
opertaing system.

For example, on GNU/Linux systems, koi8-r and cp1251 are certainly
supported, as long as you configured the locale correctly and told urxvt
to use it.

> How do I correct this? Or should I use another terminal emulator like xterm?

You cna use xterm if you like, but xterm likely will have similar problems
in your configuration.

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [EMAIL PROTECTED]
      -=====/_/_//_/\_,_/ /_/\_\

_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode

Reply via email to