Question marks in localized man pages

Thomas Wolff towo@towo.net
Mon Sep 13 13:04:00 GMT 2010


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



More information about the Cygwin mailing list