ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Чем раскодировать quoted-printable
@ 2003-09-05  9:07 Maxim Britov
  2003-09-05 10:52 ` Andrey Brindeew
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Britov @ 2003-09-05  9:07 UTC (permalink / raw)
  To: Community ALT Linux, Support ASP Linux

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

Чем раскодировывать текст из quoted-printable?

-- 
MaxBritov

GnuPG KeyID 0x4580A6D66F3DB1FB Keyserver hkp://keyserver.kjsl.com
Fingerprint: 4059 B5C5 8985 5A47 8F5A 8623 4580 A6D6 6F3D B1FB

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

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

* Re: [Comm] Чем раскодировать quoted-printable
  2003-09-05  9:07 [Comm] Чем раскодировать quoted-printable Maxim Britov
@ 2003-09-05 10:52 ` Andrey Brindeew
  2003-09-05 12:45   ` [Comm] " Denis Smirnov
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Brindeew @ 2003-09-05 10:52 UTC (permalink / raw)
  To: Community ALT Linux

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

On Fri, Sep 05, 2003 at 12:07:19PM +0300, Maxim Britov wrote:
> Чем раскодировывать текст из quoted-printable?

perl -pi -e 's/=([a-fA-F0-9]{2})/chr(hex($1))/eg' filename

-- 
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

* [Comm] Re: Чем раскодировать quoted-printable
  2003-09-05 10:52 ` Andrey Brindeew
@ 2003-09-05 12:45   ` Denis Smirnov
  0 siblings, 0 replies; 3+ messages in thread
From: Denis Smirnov @ 2003-09-05 12:45 UTC (permalink / raw)
  To: community

On Fri, Sep 05, 2003 at 02:52:59PM +0400, Andrey Brindeew wrote:

>> Чем раскодировывать текст из quoted-printable?
> perl -pi -e 's/=([a-fA-F0-9]{2})/chr(hex($1))/eg' filename

А заменять s/=\r?\n// Пушкин будет? Символ '=' в конце строки означает то,
что эта и следующая строка на самом деле одна строка, и они должны быть
склеены при раскодировании.

-- 
С уважением, Денис

http://freesource.info


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

end of thread, other threads:[~2003-09-05 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-05  9:07 [Comm] Чем раскодировать quoted-printable Maxim Britov
2003-09-05 10:52 ` Andrey Brindeew
2003-09-05 12:45   ` [Comm] " Denis Smirnov

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