delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Sun, 23 Sep 2001 17:54:02 +0400 |
From: | egor duda <deo AT logos-m DOT ru> |
X-Mailer: | The Bat! (v1.53 RC/4) |
Reply-To: | egor duda <cygwin AT cygwin DOT com> |
Organization: | deo |
X-Priority: | 3 (Normal) |
Message-ID: | <1253577564.20010923175402@logos-m.ru> |
To: | Alexander Gotlib <alex AT cca DOT usart DOT ru> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: What's wrong with russian locale ? |
In-Reply-To: | <191323284077.20010923180336@cca.usart.ru> |
References: | <191323284077 DOT 20010923180336 AT cca DOT usart DOT ru> |
MIME-Version: | 1.0 |
Hi! Sunday, 23 September, 2001 Alexander Gotlib Alexander DOT Gotlib AT f1003 DOT n5080 DOT z2 DOT fidonet DOT org wrote: AG> I want to set up input and output locale to russian KOI8-R. AG> Exports 'LANG=ru_RU.KOI8-R' and 'CHARSET=KOI8-R' doesn't works. first of all, it's not the locale job to correctly display characters on your console and handle keyboard input. so, the question you're asking in subject is somewhat misleading. AG> How can I do it ? I need it for reading news-letters with SLRN via INN AG> based on freebsd. INN know only KOI8 charset. :-( unfortunately, cygwin doesn't provide support for KOI8-R. i suppose that you load specific font and keyboard layout on freebsd to see and type cyrillic letters, right? that means that you interface with console driver there. As cygwin use native windows console facilities, it doesn't allow you to "load" some keyboard layout or screen font. It seems that your only option (and i think it's the right way to do such things) is to convert your news-letters from koi8-r to cp1251 or cp866 -- encodings natively supported by windows -- ergo supported by cygwin. it's probably possible to patch cygwin console-handling code to perform "koi8-r => cp1251" conversion internally, but nobody's provided such patch so far. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |