🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Borneq Sun, 12 Jan 2020 23:31
Charset in headers
#88127
Author: Borneq
Date: Sun, 12 Jan 2020 23:31
13 lines
1212 bytes
Sometimes partially unreadable:
=?UTF-8?Q?Re=3a_Z=c5=82=c4=85cze_w_okolicy_procesora_Pentium_133?=
-->Q
sometimes unreadable
=?utf-8?B?xbt5d2llYyA9PiBJbsW8eW5pZXIgc3lzdGVtb3d5IC0gTGludXggPD0=?=
-->B

can be other letter than Q or B?

also
=?iso-8859-2?B ...

This coding is only on headers, not in messages body?
Re: Charset in headers
#88123
Author: Russ Allbery
Date: Sun, 12 Jan 2020 23:36
34 lines
2105 bytes
Borneq <borneq@antyspam.hidden.pl> writes:

> Sometimes partially unreadable:
> =?UTF-8?Q?Re=3a_Z=c5=82=c4=85cze_w_okolicy_procesora_Pentium_133?=
> -->Q
> sometimes unreadable
> =?utf-8?B?xbt5d2llYyA9PiBJbsW8eW5pZXIgc3lzdGVtb3d5IC0gTGludXggPD0=?=
> -->B

> can be other letter than Q or B?

I don't think any other encodings have been registered.  See RFC 2047.

Ideally, the generating agent uses a heuristic to decide whether
quoted-printable (your first example) or base64 (your second example) is
better based on the number of encoded characters, but in practice a lot of
agents just always use base64 for UTF-8.

> also
> =?iso-8859-2?B ...

> This coding is only on headers, not in messages body?

The same encoding is also used in message bodies, but differently, since
for the body the characer set and encoding can be given in the headers
(and is).  So the body contains only the bit after the third ? (namely the
encoded text).  And, of course, the body doesn't have to transform spaces
into underscores for quoted-printable encoding.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Charset in headers
#88126
Author: Olivier Miakinen
Date: Mon, 13 Jan 2020 13:52
29 lines
1691 bytes
Hello Borneq,

Le 13/01/2020 à 00:31, Borneq a écrit :
> Sometimes partially unreadable:
> =?UTF-8?Q?Re=3a_Z=c5=82=c4=85cze_w_okolicy_procesora_Pentium_133?=
> -->Q
> sometimes unreadable
> =?utf-8?B?xbt5d2llYyA9PiBJbsW8eW5pZXIgc3lzdGVtb3d5IC0gTGludXggPD0=?=
> -->B

This is perfectly readable! Respectively:
Złącze w okolicy procesora Pentium 133
and:
Żywiec => Inżynier systemowy - Linux <=

> can be other letter than Q or B?
> 
> also
> =?iso-8859-2?B ...

RTFM : https://tools.ietf.org/html/rfc2047

> This coding is only on headers, not in messages body?

RTFM : https://tools.ietf.org/html/rfc2045


-- 
Olivier Miakinen
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads