ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrew Kornilov <akornilov@gmail.com>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Server 4.0, root locale
Date: Sat, 19 May 2007 16:07:49 +0300
Message-ID: <464EF6A5.8030406@gmail.com> (raw)

Привет всем.

После инсталляции Server 4.0 с помощью последнего инсталлера получаем в
/etc/sysconfig/i18n:
LANG=en_US.UTF-8
SUPPORTED=en_US

В выводе locale из-под root:
LANG=POSIX
LC_CTYPE=en_US.utf8
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES=C
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

LC_CTYPE таким и должен быть? Из-за этого у меня, например, коммерческий
софт на перле, скомпилированный perl2exe, не запускается, потому что
начинает искать utf8.pm в своих внутренностях и не находит.

Если в i18n указать просто en_US, то все в порядке, везде POSIX. Оно и
понятно, в /root/.i18n же такое у нас:
LANGUAGE=POSIX
LANG=POSIX

eval `/bin/egrep -s '^LANG=.*\.(UTF-8|utf8)$' /etc/sysconfig/i18n| sed
's,LANG=.*,NEED_UNICODE=1,'` ||:
eval `/bin/egrep -s '^LANG=.*\.(UTF-8|utf8)$' /etc/sysconfig/i18n| sed
's,LANG=.*,LC_CTYPE=en_US.utf8,'` ||:

Для чего это задумано? И можно ли при инсталляции совсем выключить utf8
для пользователя root?


             reply	other threads:[~2007-05-19 13:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19 13:07 Andrew Kornilov [this message]
2007-05-20 19:46 ` Andrew Kornilov
2007-05-20 19:58   ` Anton Farygin

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=464EF6A5.8030406@gmail.com \
    --to=akornilov@gmail.com \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git