delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/17/04:23:24

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <42afa7b00809170122m4142ae47iddf03d57fbd068f5@mail.gmail.com>
Date: Wed, 17 Sep 2008 12:22:42 +0400
From: "Kostya Altukhov" <kacygwinlist AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: FW: How to display Russian Cyrillic and Chinese in Cygwin Bash Console?
In-Reply-To: <8EFB7A34396B486C93ACEBD0E3EDE5CC@kingmark>
MIME-Version: 1.0
References: <9313653 DOT 3295 DOT 1221581584187 DOT JavaMail DOT SYSTEM AT CCC-NOVA1> <48D026D9 DOT 6080309 AT equate DOT dyndns DOT org> <8EFB7A34396B486C93ACEBD0E3EDE5CC AT kingmark>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Wed, Sep 17, 2008 at 10:35 AM, siegfried wrote:
> Anyway, according to the man page, there are several code pages none of
> which are utf8. I was hoping to print the Cyrillic alphabet with this
> program:
>
> perl -wle "binmode STDOUT, q[:utf8]; print chr() for 0x410 .. 0x430;"

Non-X rxvt can't display UTF-8. You should install 'rxvt-unicode'
package, then read /usr/share/doc/Cygwin/rxvt-unicode-X-7.7.README
which contains a lot of useful information on how to configure and use
it. (Except that it says that vi can't display UTF-8 which is not true
because you can :set enc=utf-8).

Your perl command works well and displays Cyrillic letters in my
rxvt-unicode window.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019