From: Aleksey Deryagin <deryagin@immo.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] LANG=POSIX, всё остальное ru_RU.UTF-8
Date: Thu, 21 Feb 2008 11:26:06 +0300
Message-ID: <47BD359E.4080404@immo.ru> (raw)
In-Reply-To: <20080221082300.GD5175@borodin.zarya>
Большое спасибо.
Я посмотрел .i18n у рута, теперь понятно, как у него получается расклад :)
Andrew Borodin wrote:
> On Thu, Feb 21, 2008 at 10:18:06AM +0300, Aleksey Deryagin wrote:
>> Спасибо, но там получается аналогично - если прописать только
>> LANG=POSIX, всё становится POSIX.
>
> Судя по locale(7), LANG перекрывает всё:
>
> Если второй аргумент функции setlocale() --- пустая строка "",
> то локализация по умолчанию будет определяться, используя
> следующие шаги:
>
> 1. Если существует непустая переменная окружения LC_ALL, то
> используется ее значение.
>
> 2. Если существует переменная окружения с именем одной
> из вышеописанных категорий локализации и она не пустая, ее
> значение используется для этой категории.
>
> 3. Если существует непустая переменная окружения LANG, то
> используется ее значение.
>
--
С уважением, Алексей Дерягин
prev parent reply other threads:[~2008-02-21 8:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-21 6:47 Aleksey Deryagin
2008-02-21 7:00 ` Andrew Borodin
2008-02-21 7:18 ` Aleksey Deryagin
2008-02-21 8:23 ` Andrew Borodin
2008-02-21 8:26 ` Aleksey Deryagin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47BD359E.4080404@immo.ru \
--to=deryagin@immo.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git