From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1My4PV-0002J4-85 for garchives@archives.gentoo.org; Wed, 14 Oct 2009 14:01:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25071E0417; Wed, 14 Oct 2009 14:01:00 +0000 (UTC) Received: from mail-fx0-f220.google.com (mail-fx0-f220.google.com [209.85.220.220]) by pigeon.gentoo.org (Postfix) with ESMTP id DD046E0417 for ; Wed, 14 Oct 2009 14:00:59 +0000 (UTC) Received: by fxm20 with SMTP id 20so10886319fxm.14 for ; Wed, 14 Oct 2009 07:00:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=cbq/cyBUatyfs7k+h8Rif3i5YqLliur29RTHa2mErZs=; b=gCGpbE2XcOLwCTkSfJmat8n091cT7B+iZkSU4Mqtwglzt13+Nd1m8PKUwkKu7IRZKc n8UBMAG9nlO+YbAl+pcfIZUPYPJOG9olSex/H7MFSes2Mb0YMlvMkWMM5aBAsf8Ilyqm crYw8vChmPfdYRFgGdGqw/vcRgvxFXl64poFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JhzjXOJtm+qbTIiP7T2AJWLy0RcIIRdHqzzS8Y0LnktZm9OPuyQyzYqRhNWd99hcV/ vXMD0AhLKnA8m57/m49WORgZsdfH5LeQRsp6EVy6TSVDDzMqB06aMtYmJxfe6vBi4crN JSyaoSBW0bh1t+MCrKiZKRUOSPRwbVzIiGrzs= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.26.130 with SMTP id e2mr1570088bkc.144.1255528859110; Wed, 14 Oct 2009 07:00:59 -0700 (PDT) Date: Wed, 14 Oct 2009 18:00:59 +0400 Message-ID: <126ae1db0910140700k5386d819qedb784fea3919b93@mail.gmail.com> Subject: [gentoo-user] X bitmap fonts and UTF-8 From: DPX-Infinity To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 02a8d7de-ae53-48b9-b5ba-5e479bae2f66 X-Archives-Hash: fac17e87777aaa93667b42e7685c6b61 Hi. I have some strange problem with X fonts (not freetype). I installed xmonad, dzen2 and dmenu and configured the last two to use font -xos4-terminus-medium-*-*-*-12-*-*-*-*-*-iso10646-1 (but I have this problem in other fonts too) because I need the unicode for correct display of russian letters (i have ru_RU.UTF-8 locale, so koi8-r is not my option). But russian text looks very strange. The text from xmonad (for example, window captions) contains one symbol per one russian letter, but it is not correct - something like 0?8A0BL ?8AL<> . In the text in dmenu (or in dzen2 when I pipe output from echo to it on the console) the letters are not displayed as hieroglyphs or strange symbols; each letter consists of an ' (apostrophe sign) and one symbol from ASCII table from Q up to q (33 chars totally). I have found no correspondence between UTF-8 bytes and these pairs (but the first byte in russian letters is also the same). The same configuration of xmonad and dzen2 on my other machine (ubuntu) works perfectly, and the text in xterm and emacs also looks very well. What can this be? Sorry for my bad language if it is such :)