ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Имена файлов.
@ 2004-04-14  6:44 Yevgeny Manyashev
  2004-04-14  7:04 ` Maxim.Savrilov
  2004-04-15  6:11 ` Andrey Brindeew
  0 siblings, 2 replies; 3+ messages in thread
From: Yevgeny Manyashev @ 2004-04-14  6:44 UTC (permalink / raw)
  To: community

Alexander Kuprin <ru_classic на gts.lg.ua> wrote:
> но нет диагностики
> с каким сообщением обламывается iconv?

Собственно, вот.

$ unzip -l 18.zip
Archive:  18.zip
   Length     Date   Time    Name
  --------    ----   ----    ----
    442368  02-15-01 16:54   Е©╨║Щ-О╞М╚СЩ-Ф╪яу.DOC
  --------                   -------
    442368                   1 file

$ unzip -l 18.zip | iconv -f cp866 -t koi8-r
Archive:  18.zip
   Length     Date   Time    Name
  --------    ----   ----    ----
    442368  02-15-01 16:54   х┐║бiconv: illegal input sequence at position 115

Потом я собираюсь делать

$ unzip 18.zip
$ mv 'Е©╨║Щ-О╞М╚СЩ-Ф╪яу.DOC' 'Нормальное имя.doc'

Может здесь кодировка вовсе не cp866. Тогда какая?

P.S. Не нашёл, на какую кнопку надо жать, чтобы отвечать на письма в этой 
рассылке. Соответственно, своими ответами открываю новые ветки. :-((

-- 

Best regards

Евгений


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

* Re: [Comm] Имена файлов.
  2004-04-14  6:44 [Comm] Имена файлов Yevgeny Manyashev
@ 2004-04-14  7:04 ` Maxim.Savrilov
  2004-04-15  6:11 ` Andrey Brindeew
  1 sibling, 0 replies; 3+ messages in thread
From: Maxim.Savrilov @ 2004-04-14  7:04 UTC (permalink / raw)
  To: community

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

On Wed, 14 Apr 2004 13:44:43 +0700
Yevgeny Manyashev <yevgmn@sibnet.ru> wrote:

>     442368  02-15-01 16:54   х┐║бiconv: illegal input sequence at position 115
в кодировке koi8-r нет некоторых символов, например символ "Номер", тот, что на кнопке "3"
на этом iconv обламывается


> Потом я собираюсь делать
> 
> $ unzip 18.zip
> $ mv 'Е©╨║Щ-О╞М╚СЩ-Ф╪яу.DOC' 'Нормальное имя.doc'
> 
> Может здесь кодировка вовсе не cp866. Тогда какая?

трудно судить, ее похоже перекодировало почтарем
попробуйте разные комбинации
но при неверном -f iconv слетает на первом символе обычно

> P.S. Не нашёл, на какую кнопку надо жать, чтобы отвечать на письма в этой 
> рассылке. Соответственно, своими ответами открываю новые ветки. :-((

Reply ?



-- 
Что может быть лучше ухоженного английского парка?
Английский парк с хорошо пристрелянными ориентирами!

[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]

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

* Re: [Comm] Имена файлов.
  2004-04-14  6:44 [Comm] Имена файлов Yevgeny Manyashev
  2004-04-14  7:04 ` Maxim.Savrilov
@ 2004-04-15  6:11 ` Andrey Brindeew
  1 sibling, 0 replies; 3+ messages in thread
From: Andrey Brindeew @ 2004-04-15  6:11 UTC (permalink / raw)
  To: community

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

On Wed, Apr 14, 2004 at 01:44:43PM +0700, Yevgeny Manyashev wrote:
>    442368  02-15-01 16:54   х┐║бiconv: illegal input sequence at position 

man iconv, в отношении ключа -r

> Может здесь кодировка вовсе не cp866. Тогда какая?

enca -L ru

-- 
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.

[-- Attachment #2: Type: application/pgp-signature, Size: 245 bytes --]

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

end of thread, other threads:[~2004-04-15  6:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-14  6:44 [Comm] Имена файлов Yevgeny Manyashev
2004-04-14  7:04 ` Maxim.Savrilov
2004-04-15  6:11 ` Andrey Brindeew

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