Hello Scott, Tuesday, January 31, 2006, 5:23:53 AM, you wrote:
>> Now, the problem is relatively easy to reproduce, I think, even if >> you don't understand Russian. > Thanks to your SUPERB instructions, I'm now able to create a > cyrillic directory name & view it properly with: > xterm -fn '-misc-fixed-medium-r-normal--14-130-75-75-c-70-koi8-r' Scott, I noticed you're using a KOI8-R font encoding (from xfonts-cyrillic, which defaults to koi8-r, I guess), while I was talking about CP1251. In Debian, for instance, there's smth like xfonts-cyrillic-cp1251, too. Many people who use Russian in Linux indeed prefer KOI8-R. However, many do use CP1251. People who use Belarusian/Bulgarian also use CP1251. So the real problem is to understand the underlying locale encoding, like Mikhael pointed out, whether it's CP1251, KOI8-R, KOI8-U, ISO-8859-5 (these are all Cyrillic), or whatever =) I didn't mean to confuse you with the abundance of Cyrillic encodings, I just want to point out you seem to be using a KOI8-R font in Xterm, while in another email we're talking about CP1251. These two encodings are very different, and don't go well together. Actually, I just opened the http://www.aao.gov.au/local/www/ss/tmp/cyrillic.png, and there you are: You have all set up correctly according to instructions, you have a CP1251 locale, and you have ПАПКА in tab's title, BUT you have a KOI8-R font in xterm title, which means it IS Cyrillic, only instead of "ПАПКА" you have "оюойю" -- which doesn't make any sense (it's not a word, but the chars are all Russian). You must have a CP1251 font in xterm title, or detect a locale encoding (in our case CP1251) and use that. On the other hand, setting Xterm titles with the correct encoding is really the task of the end-user, or does it have something to do with FvwmTabs? BTW, the positions of chars in code tables in CP1251 and KOI8-R don't match, although both are Cyrillic. Notice how you got lower and upper case chars swapped -- that's always a good signal you've misused either KOI8-R or CP1251 =) > As a first step to tracking down your problem with FvwmTabs, I tried > to set the title to the directory name. As I use zsh, the commands > for this are: I also use zsh, so your zsh examples are useful for me. > cd tmp/cyrillic/$cyrillic_text_here > setTitle () { print -nP '%{\e]2;'$1'\a\e]1;'$2'\a%}' } > setTitle $PWD >> I realize that my tutorial on how to reproduce the problem with >> Cyrillic may not be very realistic for you to go with > No, it's very useful. I just needed something to test with. Thanks. You're welcome =) -- WBR, Andrei Popov Using FVWM 2.5.16 on Debian GNU/Linux
