🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Henrik Gemal Sun, 27 Jan 2002 09:39
Articles and encoding
#56228
Author: Henrik Gemal
Date: Sun, 27 Jan 2002 09:39
16 lines
1483 bytes
Should I encode header when posting articles to a newsserver? I'm not 
100% sure what the RFC says. It seems that newsarticles have to be valid 
RFC822 mails.
So if my subject contains danish chars like "���" I have to encode them?

Do I have to include "MIME-version: 1.0" is the headers too? If the 
article has to be valid RFC822 the header has to be there...

-- 
Henrik Gemal
Mozilla Evangelist

Get the latest and greatest Mozilla web browser at:
http://gemal.dk/mozilla/

Re: Articles and encoding
#56231
Author: Kjetil Torgrim Homme
Date: Sun, 27 Jan 2002 11:53
26 lines
2160 bytes
[Henrik Gemal]

>   Should I encode header when posting articles to a newsserver? I'm
>   not 100% sure what the RFC says. It seems that newsarticles have
>   to be valid RFC822 mails.  So if my subject contains danish chars
>   like "���" I have to encode them?

Yes.

The upcoming standard will allow UTF-8, but currently many people will
see strange characters, as they will be displayed as if it was ISO
Latin 1.  In no.*, we still post uncoded Latin 1, but this will have
to change before UTF-8 becomes widespread.  Most clients these days
know how to remove RFC 2047 coding, so this is the correct and least
painful way of non-English alphabets.  If you can't specify behaviour
based on hierarchy, you MUST code 8-bit into 7-bit using RFC 2047.

>   Do I have to include "MIME-version: 1.0" is the headers too? If
>   the article has to be valid RFC822 the header has to be there...

You only need MIME-Version: 1.0 if you actually use any MIME
features.  RFC 822 does not know about MIME.

-- 
Kjetil T.		"Signaturen _m�_ ikkje ha med eit sitat."
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