Thread View: news.software.readers
11 messages
11 total messages
Started by Clint O
Mon, 19 Mar 2018 17:14
UTF-8 support
Author: Clint O
Date: Mon, 19 Mar 2018 17:14
Date: Mon, 19 Mar 2018 17:14
11 lines
1510 bytes
1510 bytes
I've tried a couple of times to post content with content outside of the usual ASCII range using Google Groups as well as slrn, and I've noticed those extended characters are getting mangled in the process. FYI, here's a link to the post: https://groups.google.com/d/msg/comp.compilers/k6eJinqcTzU/ZMFhbQjPBwAJ I was reading online that slrn has UTF-8 support. Is there anything in particular I need to do to post with extended characters (Unicode calls them code points, I guess)? Thanks, -Clint
Re: UTF-8 support
Author: Eli the Bearded
Date: Mon, 19 Mar 2018 20:46
Date: Mon, 19 Mar 2018 20:46
39 lines
2640 bytes
2640 bytes
In news.software.readers, Clint O <clint.olsen@gmail.com> wrote:
> I've tried a couple of times to post content with content outside of
> the usual ASCII range using Google Groups as well as slrn, and I've
> noticed those extended characters are getting mangled in the process.
>
> FYI, here's a link to the post:
>
> https://groups.google.com/d/msg/comp.compilers/k6eJinqcTzU/ZMFhbQjPBwAJ
That is a moderated group. Are you sure the moderation software is 8-bit
clean? Since it is easier for me to examine the article from a local
copy than from Google, I dug out the message-ID:
Message-ID: <18-03-074@comp.compilers>
Using the shell commands:
getarticle '<18-03-074@comp.compilers>' | grep '[^ -~]'
I see that there are two lines with characters outside of printable
ASCII. One has one tab and one other line has two other control
characters:
q1: b^H^E
It sure looks like something stripped out all high bits.
> I was reading online that slrn has UTF-8 support. Is there anything in
> particular I need to do to post with extended characters (Unicode
> calls them code points, I guess)?
A code point is a character in Unicode. UTF-8 is a way to represent
code points as a bit stream. It might be that comp.compilers requires a
seven-bit safe representation. Maybe UTF-7 would work?
Elijah
------
there are at least three other common Unicode representations
Re: UTF-8 support
Author: Clint O
Date: Tue, 20 Mar 2018 01:22
Date: Tue, 20 Mar 2018 01:22
15 lines
1330 bytes
1330 bytes
On 2018-03-19, Eli the Bearded <*@eli.users.panix.com> wrote: > That is a moderated group. Are you sure the moderation software is 8-bit > clean? Since it is easier for me to examine the article from a local > copy than from Google, I dug out the message-ID: > > Message-ID: <18-03-074@comp.compilers> > > Using the shell commands: > > getarticle '<18-03-074@comp.compilers>' | grep '[^ -~]' Thanks, I have followed up with the moderator of comp.compilers to check his server for any shenanigans. -Clint
Re: UTF-8 support
Author: Clint O
Date: Tue, 20 Mar 2018 04:51
Date: Tue, 20 Mar 2018 04:51
9 lines
1179 bytes
1179 bytes
On 2018-03-20, Clint O <clint.olsen@gmail.com> wrote: > Thanks, I have followed up with the moderator of comp.compilers to check > his server for any shenanigans. In the interim I did successfully post UTF-8 content to alt.test, so I suspect you are correct about the moderating as being the issue. Thanks a lot for your suggestion. -Clint
Re: UTF-8 support
Author: Eli the Bearded
Date: Thu, 22 Mar 2018 19:08
Date: Thu, 22 Mar 2018 19:08
13 lines
1863 bytes
1863 bytes
In news.software.readers, Clint O <clint.olsen@gmail.com> wrote: > In the interim I did successfully post UTF-8 content to alt.test, so I > suspect you are correct about the moderating as being the issue. Thanks a > lot for your suggestion. Unicode support issues involve a whole lot of checking every piece of software up and down the stack in my experience. There are so many places where the bits can be twiddled by something with an ASCII or ISO-8859-1 (or Windows-...) "bent". Elijah ------ and moderation adds in a bunch of layers
Re: UTF-8 support
Author: Michael Bäuerle
Date: Thu, 22 Mar 2018 21:42
Date: Thu, 22 Mar 2018 21:42
17 lines
1814 bytes
1814 bytes
Eli the Bearded wrote: > In news.software.readers, Clint O <clint.olsen@gmail.com> wrote: > > > > In the interim I did successfully post UTF-8 content to alt.test, so I > > suspect you are correct about the moderating as being the issue. Thanks a > > lot for your suggestion. > > Unicode support issues involve a whole lot of checking every piece of > software up and down the stack in my experience. There are so many > places where the bits can be twiddled by something with an ASCII or > ISO-8859-1 (or Windows-...) "bent". Unicode support may not be sufficient (in the sense of Unicode-only). The original article may have a different encoding (neither ASCII nor Unicode). Any software that handles mail and news today should support MIME.
Re: UTF-8 support
Author: Clint O
Date: Thu, 22 Mar 2018 22:20
Date: Thu, 22 Mar 2018 22:20
12 lines
1329 bytes
1329 bytes
On 2018-03-22, Eli the Bearded <*@eli.users.panix.com> wrote: > Unicode support issues involve a whole lot of checking every piece of > software up and down the stack in my experience. There are so many > places where the bits can be twiddled by something with an ASCII or > ISO-8859-1 (or Windows-...) "bent". I did reach the moderator, and it turned out to be an old demime script was the culprit... Thanks, -Clint
Re: UTF-8 support
Author: Eli the Bearded
Date: Fri, 23 Mar 2018 02:32
Date: Fri, 23 Mar 2018 02:32
25 lines
2596 bytes
2596 bytes
In news.software.readers, Michael Bäuerle <michael.baeuerle@gmx.net> wrote:
> Any software that handles mail and news today should support MIME.
The original article had appropriate MIME headers for UTF-8 transmitted
without encoding when it was received by my system. I don't know, but I
expect it went out with such. I don't know what software touched it
between the poster and it getting to me. Let's surmise that the
poster's mail system and all of the NNTP hosts are going to handle MIME
8-bit posts correctly.
That leaves the mail software used for forwarding posts to moderators.
The mail software at the moderator's end that actually accepts the post.
The moderation software that handles the post (probably several pieces
there).[*] If that group is like other moderated groups I've dealt with
there are probably poster whitelists, heuristics to outright reject,
and a human or team to deal with all the rest.
[*] That is my best guess for the problem. Maybe some ancient inews- like
component is over-zealous about high-bits in posts.
If you've read the RFCs you know SHOULD is not the same as MUST.
Elijah
------
not that news RFCs are that frequent
Re: UTF-8 support
Author: Michael Bäuerle
Date: Fri, 23 Mar 2018 10:55
Date: Fri, 23 Mar 2018 10:55
34 lines
2906 bytes
2906 bytes
Eli the Bearded wrote:
> In news.software.readers, Michael B�uerle <michael.baeuerle@gmx.net> wrote:
^
This is another related problem: Your (RFC 2047) MIME decoder worked
correctly, but your newsreader has not applied UTF-8 to the codepoint
U+00E4 ("ä") as required with the "charset=UTF-8" parameter in the
"Content-Type" headerfield.
> > Any software that handles mail and news today should support MIME.
>
> The original article had appropriate MIME headers for UTF-8 transmitted
> without encoding when it was received by my system. I don't know, but I
> expect it went out with such. I don't know what software touched it
> between the poster and it getting to me. Let's surmise that the
> poster's mail system and all of the NNTP hosts are going to handle MIME
> 8-bit posts correctly.
> [...]
> The moderation software that handles the post (probably several pieces
> there).[*] If that group is like other moderated groups I've dealt with
> there are probably poster whitelists, heuristics to outright reject,
> and a human or team to deal with all the rest.
In <news:B_VsC.34007$2o3.4762@fx09.iad> Clint wrote that a script was
the reason.
> [*] That is my best guess for the problem. Maybe some ancient inews- like
> component is over-zealous about high-bits in posts.
>
> If you've read the RFCs you know SHOULD is not the same as MUST.
Since RFC 5536 user agents MUST have MIME support:
<https://tools.ietf.org/html/rfc5536#section-2.3>
But yes, it's only for news. If a moderator receives articles via
mail, the paragraph above doesn't apply.
Re: UTF-8 support
Author: Eli the Bearded
Date: Fri, 23 Mar 2018 20:07
Date: Fri, 23 Mar 2018 20:07
19 lines
2272 bytes
2272 bytes
In news.software.readers, Michael Bäuerle <michael.baeuerle@gmx.net> wrote:
> Eli the Bearded wrote:
>> In news.software.readers, Michael B�uerle <michael.baeuerle@gmx.net> wrote:
> This is another related problem: Your (RFC 2047) MIME decoder worked
> correctly, but your newsreader has not applied UTF-8 to the codepoint
> U+00E4 ("ä") as required with the "charset=UTF-8" parameter in the
> "Content-Type" headerfield.
I'm using trn4 with vim. trn4 is not charset aware, but it has limited
MIME support and mostly works. Vim is UTF-8 aware, but is also:
From: Michael =?ISO-8859-1?Q?B=E4uerle?= <michael.baeuerle@gmx.net>
ISO-8859-1 aware. I am not in the habit of manually checking the
encoding, but maybe I should be. UTF-8 is what I typically encounter.
Elijah
------
has patched his trn4 to be less damaging to UTF-8
Re: UTF-8 support
Author: Michael Bäuerle
Date: Sat, 24 Mar 2018 08:31
Date: Sat, 24 Mar 2018 08:31
32 lines
2482 bytes
2482 bytes
Eli the Bearded wrote:
> In news.software.readers, Michael Bäuerle <michael.baeuerle@gmx.net> wrote:
> >
> > This is another related problem: Your (RFC 2047) MIME decoder worked
> > correctly, but your newsreader has not applied UTF-8 to the codepoint
> > U+00E4 ("ä") as required with the "charset=UTF-8" parameter in the
> > "Content-Type" headerfield.
>
> I'm using trn4 with vim. trn4 is not charset aware, but it has limited
> MIME support and mostly works. Vim is UTF-8 aware, but is also:
>
> From: Michael =?ISO-8859-1?Q?B=E4uerle?= <michael.baeuerle@gmx.net>
>
> ISO-8859-1 aware. I am not in the habit of manually checking the
> encoding, but maybe I should be.
Maybe you can run a script that checks the UTF-8 encoding before posting
the article. In your last article it would have warned you that the
single 0xE4 byte violates the UTF-8 encoding rules.
> UTF-8 is what I typically encounter.
Today UTF-8 is the right choice. I nevertheless use ISO-8859-1,
if possible, because there are so many newsreaders (old versions
of Crosspoint, MesNews and others) which have MIME support that
is only working correctly with 8bit codepages (but not with UTF-8).
> Elijah
> ------
> has patched his trn4 to be less damaging to UTF-8
Thanks for doing this.
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