* [Comm] Кодировка при монтировании CD-ROM
@ 2007-08-02 3:19 Vjacheslav A. Brunev
2007-08-02 6:00 ` Yurkovsky Andrey
0 siblings, 1 reply; 2+ messages in thread
From: Vjacheslav A. Brunev @ 2007-08-02 3:19 UTC (permalink / raw)
To: ALT Linux Community
Никак не получается сделать "правильную" кодировку (cp1251) при монтировании
CD/DVD-ROM. Система ALC-3.
Локаль:
LANG=ru_RU.CP1251
LC_CTYPE="ru_RU.CP1251"
LC_NUMERIC="ru_RU.CP1251"
LC_TIME="ru_RU.CP1251"
LC_COLLATE="ru_RU.CP1251"
LC_MONETARY="ru_RU.CP1251"
LC_MESSAGES="ru_RU.CP1251"
LC_PAPER="ru_RU.CP1251"
LC_NAME="ru_RU.CP1251"
LC_ADDRESS="ru_RU.CP1251"
LC_TELEPHONE="ru_RU.CP1251"
LC_MEASUREMENT="ru_RU.CP1251"
LC_IDENTIFICATION="ru_RU.CP1251"
LC_ALL=
Политика HAL такие.
Файл /etc/hal/fdi/policy/01-charset.fdi:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="volume.policy.should_mount" bool="true">
<match key="@block.storage_device:storage.policy.should_mount"
bool="true">
<match key="volume.fstype" string="vfat">
<merge key="volume.policy.mount_option.iocharset"
type="string">cp1251</merge>
<merge key="volume.policy.mount_option.codepage"
type="string">866</merge>
</match>
</match>
</match>
<match key="storage.policy.should_mount" bool="true">
<match key="storage.no_partitions_hint" bool="true">
<match key="storage.drive_type" string="cdrom">
<merge key="storage.policy.mount_option.utf8"
type="bool">true</merge>
<merge key="storage.policy.mount_option.iocharset"
type="string">cp1251</merge>
</match>
</match>
</match>
</device>
</deviceinfo>
--
С уважением Вячеслав.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Кодировка при монтировании CD-ROM
2007-08-02 3:19 [Comm] Кодировка при монтировании CD-ROM Vjacheslav A. Brunev
@ 2007-08-02 6:00 ` Yurkovsky Andrey
0 siblings, 0 replies; 2+ messages in thread
From: Yurkovsky Andrey @ 2007-08-02 6:00 UTC (permalink / raw)
To: community
В письме от Thu, 02 Aug 2007 06:19:32 +0300, Vjacheslav A. Brunev
<bru@post.tomica.ru> сообщал:
> <merge key="storage.policy.mount_option.utf8"
> type="bool">true</merge>
Это должно быть false:
<merge key="storage.policy.mount_option.utf8" type="bool">false</merge>
--
Yurkovsky Andrey
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-02 6:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-02 3:19 [Comm] Кодировка при монтировании CD-ROM Vjacheslav A. Brunev
2007-08-02 6:00 ` Yurkovsky Andrey
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