delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/12/02:51:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Date: Sun, 12 Sep 2010 10:51:15 +0400
From: Ilya Basin <basinilya AT gmail DOT com>
Reply-To: Ilya Basin <basinilya AT gmail DOT com>
Message-ID: <322453453.20100912105115@gmail.com>
To: Andy Koppe <andy DOT koppe AT gmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re[4]: Question marks in localized man pages
In-Reply-To: <AANLkTimPqYAD76XG=_sE0Qa4XbcfwbHtp=ZabyeL_Tjm@mail.gmail.com>
References: <1334501311 DOT 20100911212113 AT gmail DOT com> <AANLkTim1GWGZiq8MDwWF6cGW_0J7scMO6GsW0i2E9QED AT mail DOT gmail DOT com> <1432759290 DOT 20100911214802 AT gmail DOT com> <AANLkTimPqYAD76XG=_sE0Qa4XbcfwbHtp=ZabyeL_Tjm AT mail DOT gmail DOT com>
MIME-Version: 1.0
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

AK> On 11 September 2010 18:48, Ilya Basin wrote:
>> AK> On Saturday, September 11, 2010, Ilya Basin wrote:
>>>> Hi. My default LANG is C.UTF-8. If I change it to ru.UTF-8, all
>>>> non-ascii characters in man pages are displayed as question marks.
>>
>> AK> ru.UTF-8 isn't a valid locale setting; you need a territory in there
>> AK> as well, e.g. ru_RU.UTF-8, otherwise you end up in the ASCII-only C
>> AK> locale.
>>
>> AK> Andy
>>
>> For some reason with the standard ru_RU.UTF-8 man pages are in English

AK> Hmm, something is quite wrong with that then.

AK> We don't seem to have many man pages in Russian (or any other language
AK> that isn't English) in the first place. Was it the vim pages you were
AK> looking at?
yes
AK> Does inserting preconv as you mentioned previously help with ru_RU.UTF-8 too?
No, as I told before, with LANG=ru_RU.UTF-8 man can't find man pages
in Russian and displays them in English.
AK> Andy

I think there're at least 2 problems:
 - man incorrectly parses the LANG variable
 - man doesn't use preconv


-- 


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

- Raw text -


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