delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/20/09:39:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <400D3F1B.4010504@contact.bg>
Date: Tue, 20 Jan 2004 16:45:47 +0200
From: Alexander Shopov <ash AT contact DOT bg>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Non-trivial Cyrillic question
X-IsSubscribed: yes
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id i0KEdDSV031373

Hi guys,
I successfully downloaded and installed Cygwin on Windows 2000 
Professional. I want to display all cyrillic properly.
I am a Bulgarian user - so I have a preference for Windows-CP1251 encoding.
I did the usual meta magic in ~/.inputrc, and now I can input cyrillic 
letters properly in both bash(in command window) and rxvt (non X window 
version)
So if I do

cat myfile

it is displayed correctly.
However when I pipe it to less

cat myfile | less

it gets broken
I get things like: <CF><D0><C5><CF><C8><D1><CA><C0>
Same thing is when I do

less myfile

Furthermore
I can touch a file with cyrillic filename

touch рсту.txt

but when I do

ls *

it is displayed like
????.txt

When I do tab completion under bash , the filename gets displayed correctly.

My filesystem is NTFS.
In my installation of cygwin nothing sets the LANG and LC environment 
variables.

What should I do?
I Searched the Internet, FAQs and docs but I get the imression that this 
question is still unanswered.
I use the Lucida Console TrueType font.


Best regards:
al_shopov

- Raw text -


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