🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #248226

Re: The charset of a header "MUST" be UTF8, not ASCII.

#248226
From: Adam H. Kerman
Date: Wed, 18 Jan 2012 19:11
31 lines
2795 bytes
Michael Moroney <moroney@world.std.spaamtrap.com> wrote:
>Junior <invalid@not-for-mail.invalid> writes:
>>moroney@world.std.spaamtrap.com (Michael Moroney) writes:

>>>It says not to use the BOM, Jeffie!

>>Someone refresh my memory; what is the advantage of using that BOM?

>Fodder for killfiles to make it easier to killfile Relf's posts?

Junior's post did not show up on my News server.

http://unicode.org/faq/utf_bom.html

Ok. There are differences in byte order in various flavors of of UTF-16
and UTF-32. Endian indicates the byte order of a multi-byte data type. If
marked little-endian, the least significant byte is first. If marked
big-endian, the most significant byte is first. If unmarked, it's
big-endian by default, although a byte order mark can be used at the
beginning to indicate actual byte serialization in use.

UTF-8 is always big-endian, so BOM isn't needed to indicate endianness. BOM
MUST NOT be used in -16 and -32 where the endianness is marked. In unmarked
-16 or -32, it indicates that the byte order on the receiving end might
appear reversed.

It MUST NOT be used if an ASCII character is expected at the beginning
of the file. It SHOULD NOT be used in the middle of a file, where for
backwards compatibility it may be treated as a zero-width non-breaking
space. However a word joiner SHOULD be used instead which cannot be
confused with BOM.
Technical Details
Message-ID: <jf75hs$jm7$2@news.albasani.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news2.arglkargh.de!news.albasani.net!.POSTED!not-for-mail
References: <Jeff-Relf.Me@2012_Jan.16^0.36.pm> <jf5b5b$9pr$1@pcls6.std.com> <201201181243.UTC.jf6eqd$grp$1@tioat.net> <jf710e$ibd$1@pcls6.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <jf75hs$jm7$2@news.albasani.net>
Subject: Re: The charset of a header "MUST" be UTF8, not ASCII.
Date: Wed, 18 Jan 2012 19:11:57 +0000
From: "Adam H. Kerman" <ahk@chinet.com>
References: <Jeff-Relf.Me@2012_Jan.16^0.36.pm> <jf5b5b$9pr$1@pcls6.std.com> <201201181243.UTC.jf6eqd$grp$1@tioat.net> <jf710e$ibd$1@pcls6.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news2.arglkargh.de!news.albasani.net!.POSTED!not-for-mail
Newsgroups: alt.free.newsservers,news.software.readers
Organization: albasani.net
Lines: 31
X-Trace: news.albasani.net
 s3vDIlc1ZG4OZ1D99ernXjeSvZ03IuAcM+mK2vVW0kV0ZmKOQa82j8lyRcDN5Xo9K+66ilKrq+UQQYIm8IAkSGB/U575Ja9r857C55s+Rr+Vj91hNQijKATQgiextNK2
NNTP-Posting-Date: Wed, 18 Jan 2012 19:11:57 +0000 (UTC)
Injection-Info: news.albasani.net;
 logging-data="Q+fFJ+0alys5v0fBLGgzQYzZ5NaiwqLLL4yhNt1hVOS4riizvBfL1p8EPVzawb3/mf32Dmhyuj7iKNW7RoEcTGudcmvSmJMdJlDAnbUV2HneYiwvuDTZtSuD1lz63lGa";
 mail-complaints-to="abuse@albasani.net"
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Cancel-Lock: sha1:tIwDH/HrCX20RuaoCvY1WQj6lA0=
X-Original-Bytes: 2658