delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/13/04:51:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_40
X-Spam-Check-By: sourceware.org
Message-ID: <4C8DE5F9.1030008@towo.net>
Date: Mon, 13 Sep 2010 10:51:05 +0200
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.12) Gecko/20100824 Lightning/1.0b1 Thunderbird/3.0.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Question marks in localized man pages
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> <322453453 DOT 20100912105115 AT gmail DOT com>
In-Reply-To: <322453453.20100912105115@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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 12.09.2010 08:51, Ilya Basin wrote:
> 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
>    
You migh try to set LC_CTYPE or LC_ALL, too, for some more diagnostics.
------
Thomas

--
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