Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 X-Mailer: The Bat! (v1.53 RC/4) Reply-To: egor duda Organization: deo X-Priority: 3 (Normal) Message-ID: <1253577564.20010923175402@logos-m.ru> To: Alexander Gotlib 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/