Article View: news.software.nntp
Article #79938UTF-8 in NNTP commands
From: Julien ÉLIE
Date: Sun, 28 Dec 2008 19:44
Date: Sun, 28 Dec 2008 19:44
41 lines
2398 bytes
2398 bytes
Hi,
Should a news server generate a 501 response upon receiving an NNTP command
which is not properly encoded in UTF-8?
RFC 4643 (AUTHINFO) does not tackle the issue of encodings. Therefore,
I believe it is assumed that everything is in UTF-8.
However, I am unsure that logins and passwords are correctly encoded
by news clients. I do not know what they send!
AUTHINFO USER été
AUTHINFO PASS αβγ
is not allowed by RFC 3977.
And afterwards, external auth programs will have to handle UTF-8 too...
On the other hand, if a news server receive:
AUTHINFO USER été
from a compliant news client, how can it understand that it is a 3-character
long login ("été") and not a 5-character long login ("été")?
What should be done?
If two newsgroups have the same name (one encoded in ISO-8859-1 and
the other in UTF-8 for instance), they may be seen as two different
newsgroups and we wouldn't be able to access the first one if UTF-8
was required.
And other similar issues...
--
Julien ÉLIE
« Quand on demande aux gens d'observer le silence, au lieu de l'observer
comme on observe une éclipse de lune, ils l'écoutent ! » (Raymond Devos)
Technical Details
Message-ID:
<gj8kvn$1aq$1@news.trigofacile.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <gj8kvn$1aq$1@news.trigofacile.com> Subject: UTF-8 in NNTP commands Date: Sun, 28 Dec 2008 20:44:53 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder1.news.weretis.net!newsfeeder.dynfx.net!weretis.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 41 NNTP-Posting-Host: aaubervilliers-151-1-10-208.w83-114.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1230493495 1370 83.114.9.208 (28 Dec 2008 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sun, 28 Dec 2008 19:44:55 +0000 (UTC) X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049