From: Aleksey Avdeev <solo@solin.spb.ru> To: "Культурный офтопик" <smoke-room@lists.altlinux.org> Subject: Re: [room] Как найти файл в определённой кодировке? Date: Wed, 24 Aug 2011 14:19:56 +0400 Message-ID: <4E54D04C.6080901@solin.spb.ru> (raw) In-Reply-To: <CADbnjxH7g_=43uGjFvm--vAQvLSQd5KVGyy+hfGXE_LmjdH42A@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 1389 bytes --] 24.08.2011 14:04, Денис Черносов пишет: > > > 22 августа 2011 г. 15:53 пользователь Sergey Korobitsin > <undertaker@arta.kz <mailto:undertaker@arta.kz>> написал: > > Денис Черносов ☫ → To Культурный офтопик @ Mon, Aug 22, 2011 14:01 +0400 > ... > > > 2) Аналогичный вопрос про переносы строк в стиле Windows|Unix... > > Аналогично здесь. AFAIK, все преобразователи делают замену \r\n на \n, > соответственно юниксный файл будет содержать только \n и заменятор > заменять ничего не будет. Но вначале всё равно стоит > поэкспериментировать. > > > Поэкспериментировал... > 1) вроде бы recode действительно не перекодирует лишнего, но > 2) преобразование виндовых разделителей в юниксовые он делать не умеет и > вообще не перекодирует такие файлы: > > recode: failed: Ambiguous output in step `CR-LF..data' dos2unix (из пакета hd2u)? -- С уважением. Алексей. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 900 bytes --]
next prev parent reply other threads:[~2011-08-24 10:19 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-22 11:06 ` Alexei V. Mezin 2011-08-24 10:09 ` Alexei V. Mezin 2011-08-22 11:53 ` Sergey Korobitsin 2011-08-24 10:14 ` Alexei V. Mezin 2011-08-24 10:23 ` Andrew Borodin 2011-08-25 20:18 ` Aleksey Avdeev 2011-08-24 10:19 ` Aleksey Avdeev [this message] 2011-08-24 11:43 ` Sergey Korobitsin
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=4E54D04C.6080901@solin.spb.ru \ --to=solo@solin.spb.ru \ --cc=smoke-room@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
Культурный офтопик This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/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 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \ smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com public-inbox-index smoke-room Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.smoke-room AGPL code for this site: git clone https://public-inbox.org/public-inbox.git