ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Кодировка cp1251
@ 2006-05-12 14:37 Kondratenko Boris
  2006-05-12 14:45 ` Шенцев Алексей Владимирович
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kondratenko Boris @ 2006-05-12 14:37 UTC (permalink / raw)
  To: community

Добрый день,

Что надо добавить в fstab в новом альте, чтобы кодировка на виндовых 
разделах нормально отображалась?

С уважением, Борис.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Кодировка cp1251
  2006-05-12 14:37 [Comm] Кодировка cp1251 Kondratenko Boris
@ 2006-05-12 14:45 ` Шенцев Алексей Владимирович
  2006-05-12 14:57 ` Yuri Horoshkov
  2006-05-12 19:02 ` anyr
  2 siblings, 0 replies; 7+ messages in thread
From: Шенцев Алексей Владимирович @ 2006-05-12 14:45 UTC (permalink / raw)
  To: ALT Linux Community

В сообщении от 12 мая 2006 18:37 Kondratenko Boris написал(a):
> Добрый день,
Добрый.
>
> Что надо добавить в fstab в новом альте, чтобы кодировка на виндовых
> разделах нормально отображалась?
Я, например, ушёл с локали utf-8 на локаль koi8-r и всё нормально.
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
ICQ: 271053845

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Кодировка cp1251
  2006-05-12 14:37 [Comm] Кодировка cp1251 Kondratenko Boris
  2006-05-12 14:45 ` Шенцев Алексей Владимирович
@ 2006-05-12 14:57 ` Yuri Horoshkov
  2006-05-12 19:02 ` anyr
  2 siblings, 0 replies; 7+ messages in thread
From: Yuri Horoshkov @ 2006-05-12 14:57 UTC (permalink / raw)
  To: ALT Linux Community

Kondratenko Boris пишет:
> Добрый день,
>
> Что надо добавить в fstab в новом альте, чтобы кодировка на виндовых 
> разделах нормально отображалась?
>
>   
У меня в fstab следующее:
/dev/hdb8              /mnt/data               vfat   
umask=0,iocharset=utf8,codepage=866 0 0

-- 
С уважением,
Юрий.

UIN: 311786925
JID:  yuri_horoshkov@jabber.kiev.ua



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Кодировка cp1251
  2006-05-12 19:02 ` anyr
@ 2006-05-12 16:43   ` Alexej Kryukov
  2006-05-13 10:38     ` anyr
  2006-05-18  9:01   ` Andrei Lomov
  1 sibling, 1 reply; 7+ messages in thread
From: Alexej Kryukov @ 2006-05-12 16:43 UTC (permalink / raw)
  To: anyr, ALT Linux Community

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

On Friday 12 May 2006 23:02, anyr wrote:
>
> А у меня вопрос по теме. Уже почитал всякие инструкции по
> достоинствам utf и по способам перехода на cp1251. Но
> перйти нормально так и не смог... сменные носителя
> все-равно монтируются в utf8. Пробовал менять кодировку
> в /etc/hal/policy - не помогло, 

См. аттач. Это лишь один из вариантов, можно и по-другому
извращаться.

> man fstab-sync тоже ничего 
> подходящего не подсказал. Кто переходил на cp1251 может
> поделитесь положительным опытом?

Я и не переходил: сижу на ней с тех пор, как впервые
установил Linux.

-- 
Regards,
Alexey Kryukov <anagnost {at} yandex {dot} ru>

Moscow State University
Historical Faculty

[-- Attachment #2: 01-charset.fdi --]
[-- Type: text/plain, Size: 1207 bytes --]

<?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">false</merge>
            <merge key="storage.policy.mount_option.iocharset" type="string">cp1251</merge>
	</match>
	<match key="storage.drive_type" string="floppy">
	    <merge key="storage.policy.mount_option.showexec" type="bool">true</merge>
	    <merge key="storage.policy.mount_option.codepage" type="string">866</merge>
            <merge key="storage.policy.mount_option.iocharset" type="string">cp1251</merge>
	</match>
      </match>
    </match>
  </device>

</deviceinfo>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Кодировка cp1251
  2006-05-12 14:37 [Comm] Кодировка cp1251 Kondratenko Boris
  2006-05-12 14:45 ` Шенцев Алексей Владимирович
  2006-05-12 14:57 ` Yuri Horoshkov
@ 2006-05-12 19:02 ` anyr
  2006-05-12 16:43   ` Alexej Kryukov
  2006-05-18  9:01   ` Andrei Lomov
  2 siblings, 2 replies; 7+ messages in thread
From: anyr @ 2006-05-12 19:02 UTC (permalink / raw)
  To: community

В сообщении от 12 Май 2006 14:37 Kondratenko Boris 
написал(a):
> Добрый день,
>
> Что надо добавить в fstab в новом альте, чтобы кодировка
> на виндовых разделах нормально отображалась?
iocharset=XXX,codepage=866
Где ХХХ - это ваша локаль, т.е., если utf8, то utf8.

А у меня вопрос по теме. Уже почитал всякие инструкции по 
достоинствам utf и по способам перехода на cp1251. Но 
перйти нормально так и не смог... сменные носителя 
все-равно монтируются в utf8. Пробовал менять кодировку 
в /etc/hal/policy - не помогло, man fstab-sync тоже ничего 
подходящего не подсказал. Кто переходил на cp1251 может 
поделитесь положительным опытом?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Кодировка cp1251
  2006-05-12 16:43   ` Alexej Kryukov
@ 2006-05-13 10:38     ` anyr
  0 siblings, 0 replies; 7+ messages in thread
From: anyr @ 2006-05-13 10:38 UTC (permalink / raw)
  To: ALT Community

В сообщении от 12 Май 2006 16:43 Alexej Kryukov написал(a):
> Я и не переходил: сижу на ней с тех пор, как впервые
> установил Linux.
Спасибо, спасло. Думаю, что вам стоит это дело добавить на 
wiki (http://wiki.sisyphus.ru/utf8/MigrateToKoi8) для таких 
как я. Это страница правда для koi, но общий смысл будет 
один.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Comm] Кодировка cp1251
  2006-05-12 19:02 ` anyr
  2006-05-12 16:43   ` Alexej Kryukov
@ 2006-05-18  9:01   ` Andrei Lomov
  1 sibling, 0 replies; 7+ messages in thread
From: Andrei Lomov @ 2006-05-18  9:01 UTC (permalink / raw)
  To: community

anyr wrote:

> ... Кто переходил на cp1251 может
> поделитесь положительным опытом?

В Компакте 3.0:

# config-i18n

-- 
Всего доброго,
А.Л.




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-05-18  9:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-12 14:37 [Comm] Кодировка cp1251 Kondratenko Boris
2006-05-12 14:45 ` Шенцев Алексей Владимирович
2006-05-12 14:57 ` Yuri Horoshkov
2006-05-12 19:02 ` anyr
2006-05-12 16:43   ` Alexej Kryukov
2006-05-13 10:38     ` anyr
2006-05-18  9:01   ` Andrei Lomov

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