Thread View: news.software.readers
106 messages
106 total messages
Page 2 of 3
Started by David Given
Sat, 15 May 2010 12:56
Page 2 of 3 • 106 total messages
Re: ?? etc; etc (was: Message encodings)
Author: Shmuel Metz
Date: Mon, 17 May 2010 10:56
Date: Mon, 17 May 2010 10:56
25 lines
3560 bytes
3560 bytes
In <MPG.265a9ce1f189ae959896a2@news.individual.net>, on 05/17/2010
at 01:23 AM, "Tom B." <nfn03862@naples.net> said:
>I'm no expert - and someone will likely correct me :) - but I assume
>UTF-8 can be sent 7-bit QP or Base 64 encoded like many other char
>sets.
Yes.
mechanism := "7bit" / "8bit" / "binary" /
"quoted-printable" / "base64" /
ietf-token / x-token
The 4th and 5th of those specify encoding 8-bit data as ASCII strings.
The mechanism 7bit is invalid for UTF-8 unless the actual data in the
article are restricted to ASCII.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org
Re: Message encodings
Author: Ralph Fox
Date: Mon, 17 May 2010 11:33
Date: Mon, 17 May 2010 11:33
43 lines
2689 bytes
2689 bytes
On Sun, 16 May 2010 08:09:48 -0400, in message <4befe08c$7$fuzhry+tra$mr2ice@news.patriot.net> Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote: > In <62luu598ir9e14o7k5pp8cj59vi59n80se@4ax.com>, on 05/16/2010 > at 02:52 PM, Ralph Fox <-rf-nz-@-.invalid> said: > > >The reason being, those news clients > >which don't know how to provide MIME headers also don't understand > >UTF-8. > > Then why do I keep seeing unencoded UTF-8, both in article headers and > in bodies? Are we talking about the same thing? I am talking about the character encoding of message bodies, when the message does not have the standard MIME headers below to specify which character encoding is used. MIME-Version: 1.0 Content-Type: text/plain; charset= Content-Transfer-Encoding: Content-Transfer-Encoding can be 8bit, which means the UTF-8 in the body is not encoded, beyond being UTF-8. It is not clear to me what you refer to by “unencoded UTF-8 [...] in bodies”. A. Are you referring to UTF-8 which is not encoded into 7-bit octets, via either quoted-printable or base-64 ? B. Or are you talking about messages in UTF-8 which don't have a content-type, charset declaration to specify which charset is used? As a test case, tell me — does this message here of mine count as “unencoded UTF-8” ? -- Regards Ralph
Re: Message encodings
Author: Ralph Fox
Date: Mon, 17 May 2010 12:17
Date: Mon, 17 May 2010 12:17
51 lines
3120 bytes
3120 bytes
On Sat, 15 May 2010 13:56:38 +0100, in message <69i2c7-7o4.ln1@gate.cowlark.com>
David Given <dg@cowlark.com> wrote:
> Usenet messages are, AIUI, supposed be either (a) valid MIME messages
> with a content-type, charset and transfer-encoding; or (b) non-MIME
> messages in 7-bit ASCII.
>
> However, in practice there are lots of messages floating around that
> violate these rules, usually by using high-bit bytes where they're not
> supposed to (either in headers, where they're supposed to use MIME
> encoded-words instead, or in a message body in a non-MIME message).
>
> What's the best thing to do when decoding these? Do I just treat them as
> ISO-8859-1 and hope for the best, or are there better heuristics I
> should use?
>
> (Incidentally, is it the case these days that all NNTP servers are 8-bit
> clean? If not, does anyone know of a free news server that will
> correctly reencode messages in 7-bit that I can use for testing?)
For high-bit bytes in _HEADERS_
A. The single best strategy, today, is to assume the header
uses the same charset as the body.
B. To future-proof things, it would be better to first detect
whether the header is valid UTF-8.
• If it is, take the header as being charset = UTF-8
• If not, take it as being the same charset as the body.
The world isn't there yet — in fact, some clients still
cannot handle headers and bodies using different charsets.
But it is the roadmap for the future.
C. If you cannot get the charset of the body, either because
(a) the message has no MIME content-type, charset header; or
(b) the body is 7-bit US-ASCII but the headers are 8-bit;
then use the same kind of heuristic as you would for the body:
(1) Select a default charset depending on the prevailing
language of the newsgroup
(2) If you can, make exceptions for individual posters.
--
Regards
Ralph
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉ =?utf-8?Q?=C7=A5=C4=A7=C5=A7=E2=80=BC=
Author: Michael Moroney
Date: Mon, 17 May 2010 22:20
Date: Mon, 17 May 2010 22:20
10 lines
1893 bytes
1893 bytes
hehe.. I see you like my Subject: line from ~6 months ago. :-) Your MT-NewsWatcher post <p.zylstra.notthis-4BF1B5.02103817052010@newszilla.xs4all.nl> is broken. It doesn't specify MIME content type headers for the charset and encoding of the body, nor does it encode the Subject: line, so the subject displays as newsreader-specific gibberish. Your Xananews post <xn0gu8e481t9vcv005@newszilla.xs4all.nl> is correct.
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Indi
Date: Mon, 17 May 2010 22:24
Date: Mon, 17 May 2010 22:24
23 lines
2139 bytes
2139 bytes
On 2010-05-17, Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote: > Mike Dee wrote: > >> Nonsense! MTNW doesn't have a problem WRT UTF-8 > > Just a test ... > > áéíóú à âêô ãõ ü ç > ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç > > ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ > > It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b) > and both versions failed to give a proper response (OTOH it could be > that the other user didn't have a proper set-up). > We finally got UTF-8 support in FreeBSD, how's it look? -- Caveat utilitor, indi
Re: ?? etc; etc
Author: David Given
Date: Mon, 17 May 2010 22:30
Date: Mon, 17 May 2010 22:30
21 lines
2513 bytes
2513 bytes
On 17/05/10 11:23, Mike Dee wrote:
[...]
> Its just trying to be helpful, I guess.
It's helping *me* --- this whole thread is producing lots of exciting
slightly-odd-encoding source material for me to analyse!
> Will try to bolt it down to Western (ISO Latin 1) with this post and see
> if it responds in kind to your us-ascii post, or obeys my request
> instead :-)
I see:
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
Re: Message encodings
Author: David Given
Date: Mon, 17 May 2010 22:47
Date: Mon, 17 May 2010 22:47
30 lines
2640 bytes
2640 bytes
On 15/05/10 13:56, David Given wrote:
[...]
> What's the best thing to do when decoding these?
Thank-you to everyone responding --- I am reading the discussion with
great interest. But there's just too much to reply to individually
without spamming the thread silly.
Having had a look at the internals of the MIME decoder library I'm using
it would appear that I'm pretty limited to what I can do with headers
anyway --- it decodes headers on the fly, assuming they're valid, and I
can't change it to decode them after it's seen the Content-Type header
without some major reengineering. So I'm just going to use Cp1252 for
the headers and hope for the best.
But I can do heuristics for the text body. Thunderbird seems to be doing
that. I think it ought to be fairly easy, as I can regular expressions
to check for UTF-8 validity etc.
As a pathological example you may be amused by
<4lUWFG$gHg@bbs.sjtu.edu.cn>, which I've just found: not only is it
encoded in gb2312, but it contains raw gb2312 sequences in the headers
and ANSI escape sequences in the signature. You'll be relieved to know I
have no intention of supporting *those*.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼
Author: Pieter Zijlstra
Date: Mon, 17 May 2010 23:25
Date: Mon, 17 May 2010 23:25
21 lines
2052 bytes
2052 bytes
Pieter Zijlstra wrote: > Mike Dee wrote: > >> Nonsense! MTNW doesn't have a problem WRT UTF-8 > > Just a test ... > > áéíóú à âêô ãõ ü ç > ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç > > ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ > > It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b) > and both versions failed to give a proper response (OTOH it could be > that the other user didn't have a proper set-up). Just adding TB because IIRC it uses the B encoding in the MIME headers. Maybe MTNW can handle that better? -- Pieter
Re: Message encodings
Author: Pieter Zijlstra
Date: Mon, 17 May 2010 23:46
Date: Mon, 17 May 2010 23:46
19 lines
1792 bytes
1792 bytes
Indi wrote: > On 2010-05-17, Indi <indi@satcidananda.16x108.merseine.nu> wrote: > > > > Piece o' cake. :) > Forgot to mention, you'll have to have Xcode installed. > It's free (as in $0). I think the average Mac user will be happy with the price, but that's probably all he/she will be happy with ;) -- Pieter "You're bound to be unhappy if you optimize everything." -- Donald Knuth
Re: Message encodings
Author: Pieter Zijlstra
Date: Mon, 17 May 2010 23:55
Date: Mon, 17 May 2010 23:55
51 lines
3361 bytes
3361 bytes
Lewis wrote:
> In message <xn0gu8dks1shr63003@newszilla.xs4all.nl> Pieter Zijlstra
> <p.zylstra.notthis@hccnet.nl> wrote:
> > Lewis wrote:
>
> > > slrn works just fine on the Mac
>
> > I (still) don't know how it will look like on a Mac, but if the
> > looks are the same as the screenshots shown on the slrn web-page,
> > it doesn't appear to be something an average Mac user will
> > like/prefer. I can understand that once you're used to slrn and
> > then move to a Mac for whatever reason it is OK, but for a "new"
> > Mac user not accustomed to slrn, I don't know (?)
>
> I don't recommend CLI apps to Mac users because I know the command
> line is very scary to most Mac users (I say this as a multi-decade
> Mac user). However, I am more likely to recommend a CLI newsreader.
> After all, once you've taken the step into USENET, the step into a
> command-line interface isn't so bad.
The type of user I'm talking about is more used to GUI apps on Windows,
like MSOE or TB, for reading news.
> set editor_command "bbedit -w --resume +%d '%s'"
>
> or, if you want to get really fancy
>
> set post_editor_command "FILE='%s';cp $FILE ${FILE}.new;bbedit -w
> --new-window ${FILE}.new;fmt -m -72 ${FILE}.new >
> $FILE;/opt/local/bin/fortune ~/mysigs >> $FILE"
Some of these users are software developers but still will be scared by
the above command-line :)
> I look on MTNW as the best choice for a GUI client, but I still find
> it awkward and inferior to slrn; it's still the newsreader I
> recommend to Mac Users (the other GUI choices are really quite lousy).
+1 (although maybe TB is an alternative for some)
--
Pieter
"I'm ineffably tired of pro-war ideologues moaning about how
the anti-war folk are just 'complaining' without 'offering
solutions' to global dilemmas. Peace doesn't need a freekin
moral, ethical, economical, or political qualification; war
does. Peace doesn't ravage, plunder, rape, or kill; war does.
Peace does not need justification, war does."
-- <|OnAir|>
Re: Message encodings
Author: Pieter Zijlstra
Date: Mon, 17 May 2010 23:57
Date: Mon, 17 May 2010 23:57
23 lines
1717 bytes
1717 bytes
Mike Dee wrote: > Pieter Zijlstra wrote: > > > Mike Dee wrote: > > > > > Pan/0.14.2.91 works just fine on the Mac :-) > > > > I apparently have the wrong Mac :-) > > > > AFAICS it is only available in "Fink" and even than not as a binary > > package for "snow leopard". > > This Pan lives on our server (Linux) I access it via Mac's X11 > No "Fink" required ;-) That's cheating! ;) -- Pieter "If you speak the truth, have one foot in the stirrup." -- Turkish proverb
Re: ħŧ etc; etc (was: Message encodings)
Author: Pieter Zijlstra
Date: Tue, 18 May 2010 00:02
Date: Tue, 18 May 2010 00:02
31 lines
2479 bytes
2479 bytes
Mike Dee wrote: > In article <xn0gu8gd91w8u8w000@newszilla.xs4all.nl>, > "Pieter Zijlstra" <p.zylstra.notthis@hccnet.nl> wrote: > > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=utf-8 > > Content-Transfer-Encoding: 7bit > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [...] > > > > Just retried with "Send with MIME" turned on, but still that didn't > > gave the desired effect. > > Well, it is sending your posts with a MIME and Content Type now, so > that is an improvement. But 7bit? Indeed strange, the other reply to the "original UTF8 post" does say 8bit. > I thought utf-8 was 8bit...? IMO even if the contents of the body only contains 7bit ASCII characters I would still set it to 8bit. -- Pieter "Manifest plainness, embrace simplicity, reduce selfishness, have few desires." -- Lao tzu
Re: ?? etc; etc
Author: Mike Dee
Date: Tue, 18 May 2010 00:06
Date: Tue, 18 May 2010 00:06
36 lines
3464 bytes
3464 bytes
In article <2ls8c7-c12.ln1@gate.cowlark.com>, David Given <dg@cowlark.com> wrote: > On 17/05/10 11:23, Mike Dee wrote: > [...] > > Its just trying to be helpful, I guess. > > It's helping *me* --- this whole thread is producing lots of exciting > slightly-odd-encoding source material for me to analyse! Its helping me too, just to see what this particular reader can/can't do. > > > Will try to bolt it down to Western (ISO Latin 1) with this post and see > > if it responds in kind to your us-ascii post, or obeys my request > > instead :-) > > I see: > > Content-Type: text/plain; charset=ISO-8859-1 > Content-Transfer-Encoding: 7bit Just what I'd hoped to see. So far so good. > > _]__ –_–₩–©––––₩––₩D–©–– _____ http://www.cowlark.com > _____ > _� > _� life₩� ₩�1 ?₩�.^3 4=+/,�1 0 1?.⊖‾1 0 1?.?⊂? } > │ --- Conway's Game Of Life, in one line of APL I'll switch off my defaults and respond this time in kind and see how that goes. Am including your sig (that's a really good test source) :-) -- dee
Re: =?utf-8?Q?=C5=AE=C5=A6=C6=91=E2=9C=B6=E2=91=A7_=C4=AF=E1=B9=A9_=D2=A1=E2=88=9E=C5=82=E2=80=BC_=D1=A3=C5=AF=C5=A3_=C9=B1=C5=A...
Author: Pieter Zijlstra
Date: Tue, 18 May 2010 00:09
Date: Tue, 18 May 2010 00:09
30 lines
2491 bytes
2491 bytes
Michael Moroney wrote: > hehe.. I see you like my Subject: line from ~6 months ago. :-) Yup. :) Hmm strangely enough something went wrong with your reply now. > Your MT-NewsWatcher post > <p.zylstra.notthis-4BF1B5.02103817052010@newszilla.xs4all.nl> is > broken. It doesn't specify MIME content type headers for the charset > and encoding of the body, nor does it encode the Subject: line, so > the subject displays as newsreader-specific gibberish. It also doesn't display the post correct in MTNW, so it looks something in decoding (headers and body) isn't optimal. Later test posts from MTNW does have the MIME content type headers (it is an option which you need to switch on) but still it didn't gave the desired effect. > Your Xananews post <xn0gu8e481t9vcv005@newszilla.xs4all.nl> is > correct. Of course ;-) -- Pieter "This is not a novel to be tossed aside lightly. It should be thrown with great force." -- Book review by Dorothy Parker
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Pieter Zijlstra
Date: Tue, 18 May 2010 00:12
Date: Tue, 18 May 2010 00:12
29 lines
2332 bytes
2332 bytes
Indi wrote: > Pieter Zijlstra wrote: > > > Mike Dee wrote: > > > > > Nonsense! MTNW doesn't have a problem WRT UTF-8 > > > > Just a test ... > > > > áéíóú à âêô ãõ ü ç > > ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç > > > > ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ > > > > It is just a test I once did with another MTNW user (3.5.2 and > > 3.5.3b) and both versions failed to give a proper response (OTOH it > > could be that the other user didn't have a proper set-up). > > > > We finally got UTF-8 support in FreeBSD, how's it look? Good! One of the first replies which actually displays the same as the original post you're replying to. -- Pieter "War doesn't make boys men, it makes men dead." -- Ken Gillespie
Re: ?? etc; etc
Author: Mike Dee
Date: Tue, 18 May 2010 00:16
Date: Tue, 18 May 2010 00:16
22 lines
2898 bytes
2898 bytes
In article <emteedee-05BB00.10055918052010@mail.eternal-september.org>, Mike Dee <emteedee@emteedee.invalid> wrote: > > > > ₩Q]⦆⦆ ⦆⦆⦆₩–©––––₩––₩D–©–– _____ > > http://www.cowlark.com > > _____ > > _? > > _? life₩? ₩?1 ?₩?.^3 4=+/,?1 0 1?.⊖‾1 0 1?.?⊂? } > > │ --- Conway's Game Of Life, in one line of APL > > I'll switch off my defaults and respond this time in kind and see how > that goes. Am including your sig (that's a really good test source) :-) Hmmm.... doesn't look so good from this end :-( Mime headers for post say utf-8 Back to the drawing board then ;-) -- dee
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Indi
Date: Tue, 18 May 2010 00:18
Date: Tue, 18 May 2010 00:18
34 lines
2548 bytes
2548 bytes
On 2010-05-18, Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote: > Indi wrote: > >> Pieter Zijlstra wrote: >> >> > Mike Dee wrote: >> > >> > > Nonsense! MTNW doesn't have a problem WRT UTF-8 >> > >> > Just a test ... >> > >> > áéíóú à âêô ãõ ü ç >> > ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç >> > >> > ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ >> > >> > It is just a test I once did with another MTNW user (3.5.2 and >> > 3.5.3b) and both versions failed to give a proper response (OTOH it >> > could be that the other user didn't have a proper set-up). >> > >> >> We finally got UTF-8 support in FreeBSD, how's it look? > > Good! One of the first replies which actually displays the same as the > original post you're replying to. > Thanks! :) -- Caveat utilitor, indi
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ðõ?e ??ght?? (was: Message encodings)
Author: Gene E. Bloch
Date: Tue, 18 May 2010 00:30
Date: Tue, 18 May 2010 00:30
27 lines
2395 bytes
2395 bytes
On 5/16/10, Pieter Zijlstra posted: > Mike Dee wrote: >> Nonsense! MTNW doesn't have a problem WRT UTF-8 > Just a test ... > áéíóú à âêô ãõ ü ç > ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç > ŮŦƑ✶⑧ įáù© ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ > It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b) > and both versions failed to give a proper response (OTOH it could be > that the other user didn't have a proper set-up). After Pieter Zijlstra's response in Message-ID: <xn0gu9riv371h6s00a@newszilla.xs4all.nl> I got curious about how MesNews handles it, so here we are. It does look good as I write this. The obligatory disclaimer: this is a test. -- Gene E. Bloch (Stumbling Bloch)
Re: Message encodings
Author: Mike Dee
Date: Tue, 18 May 2010 00:35
Date: Tue, 18 May 2010 00:35
26 lines
2413 bytes
2413 bytes
Pieter Zijlstra wrote: > Mike Dee wrote: >> Pieter Zijlstra wrote: >> > Mike Dee wrote: >> > > Pan/0.14.2.91 works just fine on the Mac :-) >> > >> > I apparently have the wrong Mac :-) >> > >> > AFAICS it is only available in "Fink" and even than not as a binary >> > package for "snow leopard". >> >> This Pan lives on our server (Linux) I access it via Mac's X11 >> No "Fink" required ;-) > > That's cheating! ;) When there's a will, there's a way :-) I sometimes run Xnews via a Mac/X11 using the same method, but because Xnews has to run under Wine on the server its a resource hog. Works well tho'. -- dee
Re: Message encodings
Author: Indi
Date: Tue, 18 May 2010 00:37
Date: Tue, 18 May 2010 00:37
26 lines
1931 bytes
1931 bytes
On 2010-05-17, Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote: > Indi wrote: > >> On 2010-05-17, Indi <indi@satcidananda.16x108.merseine.nu> wrote: >> > >> > Piece o' cake. > >:) > >> Forgot to mention, you'll have to have Xcode installed. >> It's free (as in $0). > > I think the average Mac user will be happy with the price, but that's > probably all he/she will be happy with ;) > The average Mac user will never have heard of Xcode. But yeah, you have to be *really* dedicated to "the Apple Way" to use the cocoa/aqua building stuff that comes with it. Xcode: The world's bloatiest way to get gcc and make. :) -- Caveat utilitor, indi
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼
Author: Mike Dee
Date: Tue, 18 May 2010 00:41
Date: Tue, 18 May 2010 00:41
28 lines
2518 bytes
2518 bytes
Indi wrote: > On 2010-05-17, Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote: >> Mike Dee wrote: >> >>> Nonsense! MTNW doesn't have a problem WRT UTF-8 >> >> Just a test ... >> >> áéíóú à âêô ãõ ü ç >> ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç >> >> ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ >> >> It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b) >> and both versions failed to give a proper response (OTOH it could be >> that the other user didn't have a proper set-up). >> > > We finally got UTF-8 support in FreeBSD, how's it look? Good Also reads correctly in this Pan -- dee
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ðõ?e ??ght?? (was: Message encodings)
Author: Mike Dee
Date: Tue, 18 May 2010 00:47
Date: Tue, 18 May 2010 00:47
23 lines
2641 bytes
2641 bytes
Gene E. Bloch wrote: > On 5/16/10, Pieter Zijlstra posted: >> Just a test ... > >> áéÃóú à âêô ãõ ü ç >> ÃÃÃÃà à ÃÃà Ãà à à > >> ŮŦÆâ¶â§ įáù© Ò¡âÅ⼠ѣůţ ɱũƨť ÑÑ Ã°ÃµÅÄ Æ¦Èǥħŧâ¼â¼ > [...] > I got curious about how MesNews handles it, so here we are. It does > look good as I write this. It doesn't seem to have sent it off as well as it may have looked. > The obligatory disclaimer: this is a test. Seems to be rather a fun one at that ;-) -- dee
Re: 座�??⑧ �??갑ĸ_ ?廠 ?u�?� __ ðŋ� ???ħŧ‼‼ (was: Message encodings)
Author: Mike Dee
Date: Tue, 18 May 2010 00:59
Date: Tue, 18 May 2010 00:59
30 lines
2660 bytes
2660 bytes
In article <xn0gu8e481t9vcv005@newszilla.xs4all.nl>, "Pieter Zijlstra" <p.zylstra.notthis@hccnet.nl> wrote: > Mike Dee wrote: > > > Nonsense! MTNW doesn't have a problem WRT UTF-8 > > Just a test ... > > > �惟� � 臆� 勁 – > > 座�??⑧ �? ?갑ĸ_ ?廠 ?u�?� __ ðŋ� ???ħŧ‼‼ > > It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b) > and both versions failed to give a proper response (OTOH it could be > that the other user didn't have a proper set-up). I really need to retract my "MTNW doesn't have a problem WRT UTF-8" statement above :-( I'm beginning to think that it does have a problem. It wasn't until I viewed your post in Pan before I could actually see what it meant to look like. Damn good test, Pieter. Back to MT-NW 101 for me ;-) -- dee
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ðõ?e ??ght?? (was: Message encodings)
Author: Gene E. Bloch
Date: Tue, 18 May 2010 01:00
Date: Tue, 18 May 2010 01:00
40 lines
2987 bytes
2987 bytes
On 5/17/10, Mike Dee posted: > Gene E. Bloch wrote: >> On 5/16/10, Pieter Zijlstra posted: >>> Just a test ... >> >>> áéÃóú à âêô ãõ ü ç >>> Ã�ÉÃ�ÓÚ À ÂÊÔ ÃÕ Ü Ç >> >>> ŮŦƑ✶⑧ įáù© ҡ∞ł‼ ѣůţ ɱũƨť ÑŠÑ� ðõŋē >>> Ʀȉǥħŧ‼‼ >> > [...] >> I got curious about how MesNews handles it, so here we are. It does >> look good as I write this. > It doesn't seem to have sent it off as well as it may have looked. >> The obligatory disclaimer: this is a test. > Seems to be rather a fun one at that ;-) Well, I read my message in another newsreader (Dialog) and it looked OK - although both of these did a lousy job of displaying the subject line. Although it looked OK in MesNews, I happen to suspect that MesNews loads the body locally without actually downloading it from the server after sending it. I think that because my posts appear very quickly in MesNews...Which is also why the way it shows up in Dialog on my computer is worth noting. (Geez - I keep reading the end of that sentence as "the way it shows up in Dialog on my computer is worth nothing". There might be a message there. Don't say you haven't been warned.) -- Gene E. Bloch (Stumbling Bloch)
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ©£õ?e ??ght?? (was: Message encodings)
Author: Mike Dee
Date: Tue, 18 May 2010 01:20
Date: Tue, 18 May 2010 01:20
22 lines
2651 bytes
2651 bytes
In article <hssor9$dtk$1@news.albasani.net>, Gene E. Bloch <blochxxxx@someplace.invalid> wrote: > Although it looked OK in MesNews, I happen to suspect that MesNews > loads the body locally without actually downloading it from the server > after sending it. I think that because my posts appear very quickly in > MesNews...Which is also why the way it shows up in Dialog on my > computer is worth noting. For me and MT-NW it gets even worse. No matter what I try to do to get it to do the right thing utf-8 wise I just can't seem to get it right. I'm about to give up and set it back to us-ascii only or perhaps iso-8859-1 at the most, where I was much happier anyway ;-) It wasn't until I looked at these posts with Pan before I realised how screwed up it got in MT-NW. I'm off to eat some humble pie for lunch :-D -- dee
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ðõ?e ??ght??
Author: Gene E. Bloch
Date: Tue, 18 May 2010 01:28
Date: Tue, 18 May 2010 01:28
49 lines
3550 bytes
3550 bytes
Gene E. Bloch wrote: > On 5/17/10, Mike Dee posted: >> Gene E. Bloch wrote: >>> On 5/16/10, Pieter Zijlstra posted: > >>>> Just a test ... >>> >>>> áéÃóú à âêô ãõ ü ç >>>> Ã�ÉÃ�ÓÚ À ÂÊÔ ÃÕ Ü Ç >>> >>>> ŮŦƑ✶⑧ įáù© ҡ∞ł‼ ѣůţ ɱũƨť ÑŠÑ� ðõŋē >>>> Ʀȉǥħŧ‼‼ >>> >> [...] >>> I got curious about how MesNews handles it, so here we are. It does >>> look good as I write this. > >> It doesn't seem to have sent it off as well as it may have looked. > >>> The obligatory disclaimer: this is a test. > >> Seems to be rather a fun one at that ;-) > > Well, I read my message in another newsreader (Dialog) and it looked OK > - although both of these did a lousy job of displaying the subject line. > > Although it looked OK in MesNews, I happen to suspect that MesNews loads > the body locally without actually downloading it from the server after > sending it. I think that because my posts appear very quickly in > MesNews...Which is also why the way it shows up in Dialog on my computer > is worth noting. > > (Geez - I keep reading the end of that sentence as "the way it shows up > in Dialog on my computer is worth nothing". There might be a message > there. Don't say you haven't been warned.) My original reply looks OK in Thunderbird as well, FWIW. Pieter Zijlstra's subject looks good in his post and many replies, but not in mine (since MesNews had already messed it up). The subject line also looks good if I reply to Pieter's post in TB (out of a sense of duty, or else OCD, I started a reply to it in TB, but I didn't send it). I have other newsreaders, but they're not really set up (or even installed, maybe) so no more tests. Keeps me off the street corners, I guess. -- Gene E. Bloch (Stumbling Bloch)
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼
Author: Indi
Date: Tue, 18 May 2010 01:37
Date: Tue, 18 May 2010 01:37
33 lines
2435 bytes
2435 bytes
On 2010-05-18, Mike Dee <mikedee@emteedee.invalid> wrote: > Indi wrote: > >> On 2010-05-17, Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote: >>> Mike Dee wrote: >>> >>>> Nonsense! MTNW doesn't have a problem WRT UTF-8 >>> >>> Just a test ... >>> >>> áéíóú à âêô ãõ ü ç >>> ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç >>> >>> ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ >>> >>> It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b) >>> and both versions failed to give a proper response (OTOH it could be >>> that the other user didn't have a proper set-up). >>> >> >> We finally got UTF-8 support in FreeBSD, how's it look? > > Good > > Also reads correctly in this Pan > Good to know, thanks. :) -- Caveat utilitor, indi
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Steve Ackman
Date: Tue, 18 May 2010 01:47
Date: Tue, 18 May 2010 01:47
25 lines
2666 bytes
2666 bytes
In <85du1hF7auU1@mid.individual.net>, on 17 May 2010 22:24:49 GMT, Indi, indi@satcidananda.16x108.merseine.nu wrote: > On 2010-05-17, Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote: >> Mike Dee wrote: >> >>> Nonsense! MTNW doesn't have a problem WRT UTF-8 >> >> Just a test ... >> >> áéíóú à âêô ãõ ü ç >> ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç >> >> ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ >> >> It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b) >> and both versions failed to give a proper response (OTOH it could be >> that the other user didn't have a proper set-up). >> > > We finally got UTF-8 support in FreeBSD, how's it look? Finally??? UTF-8 has been around in FreeBSD for a "long" time.
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Indi
Date: Tue, 18 May 2010 02:18
Date: Tue, 18 May 2010 02:18
37 lines
2790 bytes
2790 bytes
On 2010-05-18, Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote: > In <85du1hF7auU1@mid.individual.net>, on 17 May 2010 22:24:49 GMT, Indi, > indi@satcidananda.16x108.merseine.nu wrote: > >> On 2010-05-17, Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote: >>> Mike Dee wrote: >>> >>>> Nonsense! MTNW doesn't have a problem WRT UTF-8 >>> >>> Just a test ... >>> >>> áéíóú à âêô ãõ ü ç >>> ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç >>> >>> ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ >>> >>> It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b) >>> and both versions failed to give a proper response (OTOH it could be >>> that the other user didn't have a proper set-up). >>> >> >> We finally got UTF-8 support in FreeBSD, how's it look? > > Finally??? UTF-8 has been around in FreeBSD for a > "long" time. > Not sure what you mean by "long". AFAIK it only worked in X until quite recently. UTF-8 converters and libs have been around for a long time, but I never could get my FreeBSD machines to actually use UTF-8 in the console until just recently. -- Caveat utilitor, indi
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ðõ?e ??ght??
Author: Ted S.
Date: Tue, 18 May 2010 02:44
Date: Tue, 18 May 2010 02:44
18 lines
2305 bytes
2305 bytes
On Mon, 17 May 2010 18:00:23 -0700, Gene E. Bloch wrote: > Well, I read my message in another newsreader (Dialog) and it looked OK > - although both of these did a lousy job of displaying the subject > line. For the record, this Dialog user agrees that the body of your message at <hssn3j$bas$1@news.albasani.net> looked OK, but that the subject line looked lousy. Of course, my copy of Dialog labors on this sort of post, because the Headerlist pane has to use a different font than for the more common European character sets. -- Ted S. fedya at hughes dot net Now blogging at http://justacineast.blogspot.com
Re: Message encodings
Author: Lewis
Date: Tue, 18 May 2010 03:59
Date: Tue, 18 May 2010 03:59
47 lines
3576 bytes
3576 bytes
In message <xn0gu9r0836fmxp006@newszilla.xs4all.nl>
Pieter Zijlstra <p.zylstra.notthis@hccnet.nl> wrote:
> Lewis wrote:
>> In message <xn0gu8dks1shr63003@newszilla.xs4all.nl> Pieter Zijlstra
>> <p.zylstra.notthis@hccnet.nl> wrote:
>> > Lewis wrote:
>>
>> > > slrn works just fine on the Mac
>>
>> > I (still) don't know how it will look like on a Mac, but if the
>> > looks are the same as the screenshots shown on the slrn web-page,
>> > it doesn't appear to be something an average Mac user will
>> > like/prefer. I can understand that once you're used to slrn and
>> > then move to a Mac for whatever reason it is OK, but for a "new"
>> > Mac user not accustomed to slrn, I don't know (?)
>>
>> I don't recommend CLI apps to Mac users because I know the command
>> line is very scary to most Mac users (I say this as a multi-decade
>> Mac user). However, I am more likely to recommend a CLI newsreader.
>> After all, once you've taken the step into USENET, the step into a
>> command-line interface isn't so bad.
> The type of user I'm talking about is more used to GUI apps on Windows,
> like MSOE or TB, for reading news.
>
>> set editor_command "bbedit -w --resume +%d '%s'"
>>
>> or, if you want to get really fancy
>>
>> set post_editor_command "FILE='%s';cp $FILE ${FILE}.new;bbedit -w
>> --new-window ${FILE}.new;fmt -m -72 ${FILE}.new >
>> $FILE;/opt/local/bin/fortune ~/mysigs >> $FILE"
> Some of these users are software developers but still will be scared by
> the above command-line :)
>> I look on MTNW as the best choice for a GUI client, but I still find
>> it awkward and inferior to slrn; it's still the newsreader I
>> recommend to Mac Users (the other GUI choices are really quite lousy).
>+1 (although maybe TB is an alternative for some)
TB is a fetid pile of diseased monkey feces.
--
The other cats just think he's a tosser. --Neil Gaiman
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ©£õ?e ??ght?? (was: Message encodings)
Author: Lewis
Date: Tue, 18 May 2010 04:02
Date: Tue, 18 May 2010 04:02
19 lines
2646 bytes
2646 bytes
In message <emteedee-0802B0.11203918052010@mail.eternal-september.org> Mike Dee <emteedee@emteedee.invalid> wrote: > In article <hssor9$dtk$1@news.albasani.net>, > Gene E. Bloch <blochxxxx@someplace.invalid> wrote: >> Although it looked OK in MesNews, I happen to suspect that MesNews >> loads the body locally without actually downloading it from the server >> after sending it. I think that because my posts appear very quickly in >> MesNews...Which is also why the way it shows up in Dialog on my >> computer is worth noting. > For me and MT-NW it gets even worse. No matter what I try to do to get > it to do the right thing utf-8 wise I just can't seem to get it right. Yeah, I feel your pain. -- In other news, Gandalf died. -- Secret Diary of Boromir
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Steve Ackman
Date: Tue, 18 May 2010 05:45
Date: Tue, 18 May 2010 05:45
33 lines
3110 bytes
3110 bytes
In <85eboeF9ouU1@mid.individual.net>, on 18 May 2010 02:18:54 GMT, Indi, indi@satcidananda.16x108.merseine.nu wrote: > On 2010-05-18, Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote: >> In <85du1hF7auU1@mid.individual.net>, on 17 May 2010 22:24:49 GMT, Indi, >> indi@satcidananda.16x108.merseine.nu wrote: >> >>> We finally got UTF-8 support in FreeBSD, how's it look? >> >> Finally??? UTF-8 has been around in FreeBSD for a >> "long" time. > > Not sure what you mean by "long". Probably about however long mined has been in the ports tree... or (gu)charmap. > AFAIK it only worked in X until quite recently. Running in X doesn't negate running in FreeBSD. > UTF-8 converters and libs have been around for a long time, > but I never could get my FreeBSD machines to actually use UTF-8 > in the console until just recently. I've never even tried to get UTF-8 in a console until just now. But yes, if I type some extended characters in mined in an xterm, and try to view it in mined in a console, no dice. НÐ истхеÑ тып еиÐ ΝÎ ι τÎ τι τ τυ ΘΤΦ-8 ףתÖ עפÖ אÖ עמ ע× סי-8
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Indi
Date: Tue, 18 May 2010 06:55
Date: Tue, 18 May 2010 06:55
22 lines
2295 bytes
2295 bytes
On 2010-05-18, Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote: > > I've never even tried to get UTF-8 in a console > until just now. But yes, if I type some extended > characters in mined in an xterm, and try to view it in > mined in a console, no dice. > Exactly what I meant. Often I'm using ssh to my home machine for usenet, and I couldn't do UTF-8 because of the FreeBSD console. But it works now -- I'm not sure when they fixed it, the last time I had tried was about four months ago. You have to add this to your kernel config and rebuild it: options TEKEN_UTF8 options TEKEN_XTERM -- Caveat utilitor, indi
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Steve Ackman
Date: Tue, 18 May 2010 08:13
Date: Tue, 18 May 2010 08:13
38 lines
3761 bytes
3761 bytes
In <85eru8Fo9hU1@mid.individual.net>, on 18 May 2010 06:55:05 GMT, Indi, indi@satcidananda.16x108.merseine.nu wrote: > On 2010-05-18, Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote: >> >> I've never even tried to get UTF-8 in a console >> until just now. But yes, if I type some extended >> characters in mined in an xterm, and try to view it in >> mined in a console, no dice. > > Exactly what I meant. I guess Debian doesn't "do" UTF-8 either. In the console, this thread seems to show the ISO-8859-x characters, but none of the multi-byte characters, whereas in X they all display correctly. > Often I'm using ssh to my home machine > for usenet, and I couldn't do UTF-8 because of the FreeBSD > console. But it works now -- I'm not sure when they fixed it, > the last time I had tried was about four months ago. Easier to just use an xterm to do your ssh'ing from. ;-) > You have to add this to your kernel config and rebuild it: > > options TEKEN_UTF8 > options TEKEN_XTERM Added. Next time I get around to building a kernel, the options are already there. Thanks. I'm still trying to catch up from being gone for a couple weeks and coming back to what seems like hundreds of port upgrades that want to be done. The ports system has holes enough in it that I *almost* feel like I'm back in the dependency hell of RH 4.x era. -- ☯☯
Re: ?? etc; etc
Author: Shmuel Metz
Date: Tue, 18 May 2010 10:43
Date: Tue, 18 May 2010 10:43
22 lines
2923 bytes
2923 bytes
In <2ls8c7-c12.ln1@gate.cowlark.com>, on 05/17/2010 at 11:30 PM, David Given <dg@cowlark.com> said: >I see: >Content-Type: text/plain; charset=ISO-8859-1 Was there also a Mime-Version:? >Content-Transfer-Encoding: 7bit That's wrong if the actual article contained an octet greater than 127. -- Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel> Unsolicited bulk E-mail subject to legal action. I reserve the right to publicly post or ridicule any abusive E-mail. Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply to spamtrap@library.lspace.org
Re: Message encodings
Author: Shmuel Metz
Date: Tue, 18 May 2010 11:06
Date: Tue, 18 May 2010 11:06
52 lines
3872 bytes
3872 bytes
In <gr72v5d0vhq9v0h48eftjm6mrtn4fqqakn@4ax.com>, on 05/17/2010
at 11:33 PM, Ralph Fox <-rf-nz-@-.invalid> said:
>Are we talking about the same thing?
Yes.
>I am talking about the character encoding of message bodies,
And headers[1]. I've seen octets above 127 in both.
>when the message does not have the standard MIME headers below
Yes, although even with CTE: 8bit the octets above 127 would have been
illegal in the headers.
>It is not clear to me what you refer to by unencoded UTF-8 [...] in
>bodies .
Exactly what I wrote; a string of octets that were valid UTF-8. The
only encoding was that of UCS-2 or UCS-4 into UTF-8.
>A. Are you referring to UTF-8 which is not encoded into 7-bit
> octets, via either quoted-printable or base-64 ?
You realize that you didn't stipulate the presence of MIME-Version:,
Content-Type: or Content-Transfer-Encoding: fields, don't you? The
answer to both A and B is yes.
>B. Or are you talking about messages in UTF-8 which don't have
> a content-type, charset declaration to specify which
> charset is used?
Including articles where the unencoded octet is in the header.
>As a test case, tell me does this message here of mine count
>as unencoded UTF-8 ?
No; It has the appropriate MIME header fields. I haven't decoded it,
but I assume that 'C2A0'x is a legitimate UTF-8 string.
[1] I don't mean RFC 2047 encoding, I mean that octets above
127 appear in the raw.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel>
Unsolicited bulk E-mail subject to legal action. I reserve the
right to publicly post or ridicule any abusive E-mail. Reply to
domain Patriot dot net user shmuel+news to contact me. Do not
reply to spamtrap@library.lspace.org
Re: UT ?? i? ?8l? ?ut ?u?t ?? ©£õ?e ??ght?? (was: Message encodings)
Author: Shmuel Metz
Date: Tue, 18 May 2010 11:58
Date: Tue, 18 May 2010 11:58
25 lines
3952 bytes
3952 bytes
In <emteedee-0802B0.11203918052010@mail.eternal-september.org>, on 05/18/2010 at 11:20 AM, Mike Dee <emteedee@emteedee.invalid> said: >Mime-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 7bit Two out of three isn't bad. Now if you could just get it to restrict 7bit to ASCII :-( >I'm about to give up and set it back to us-ascii only or perhaps >iso-8859-1 at the most, Stick to us-ascii until you've fixed that Content-Transfer-Encoding: 7bit header field. -- Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel> Unsolicited bulk E-mail subject to legal action. I reserve the right to publicly post or ridicule any abusive E-mail. Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply to spamtrap@library.lspace.org
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ðõ?e ??ght??
Author: Bastian Erdnuess
Date: Tue, 18 May 2010 12:43
Date: Tue, 18 May 2010 12:43
15 lines
1903 bytes
1903 bytes
Mike Dee wrote: > Gene E. Bloch wrote: > >> I got curious about how MesNews handles it, so here we are. It does >> look good as I write this. > > It doesn't seem to have sent it off as well as it may have looked. Looks like your newsreader decoded the text as latin1 instead of utf-8. Maybe your newsreader didn't recognize Genes 'charset="utf-8"' in the header to be utf-8 because of the extra "s. Gruß, Bastian
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ðõ?e ??ght?? (was: Message encodings)
Author: Bastian Erdnuess
Date: Tue, 18 May 2010 13:03
Date: Tue, 18 May 2010 13:03
36 lines
2540 bytes
2540 bytes
Gene E Bloch wrote:
> On 5/16/10, Pieter Zijlstra posted:
>> Mike Dee wrote:
>
>>> Nonsense! MTNW doesn't have a problem WRT UTF-8
>
>> Just a test ...
>
>> áéíóú à âêô ãõ ü ç
>> ÁÉÍÓÚ À ÂÊÔ ÃÕ Ü Ç
>
>> ŮŦƑ✶⑧ į___ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼
^^^
Only the s comes wrong. And the header.
>> It is just a test I once did with another MTNW user (3.5.2 and 3.5.3b)
>> and both versions failed to give a proper response (OTOH it could be
>> that the other user didn't have a proper set-up).
>
> After Pieter Zijlstra's response in
> Message-ID: <xn0gu9riv371h6s00a@newszilla.xs4all.nl>
> I got curious about how MesNews handles it, so here we are. It does
> look good as I write this.
>
> The obligatory disclaimer: this is a test.
Btw. for those who have trouble with slrn/vim to reply to a post like
that since vim [converted] this to latin1 because of the lousy wrong
character up there. A line like
set editor_command "vim +':e ++enc=utf-8 ++bad=_ %s' +%d"
in .slrnrc solves that problem.
Bastian
Re: UTƒ?? i? ?8l? ?ut ?u?t ?? ðõ?e ??ght??
Author: Mike Dee
Date: Tue, 18 May 2010 13:20
Date: Tue, 18 May 2010 13:20
23 lines
2418 bytes
2418 bytes
Bastian Erdnuess wrote: > Mike Dee wrote: > >> Gene E. Bloch wrote: >> >>> I got curious about how MesNews handles it, so here we are. It does >>> look good as I write this. >> >> It doesn't seem to have sent it off as well as it may have looked. > > Looks like your newsreader decoded the text as latin1 instead of utf-8. > Maybe your newsreader didn't recognize Genes 'charset="utf-8"' in the > header to be utf-8 because of the extra "s. Thanks for this. I'm beginning to smell a rat. Not a human rat (or a ratus ratus) either :-) -- dee
Re: Message encodings
Author: Ralph Fox
Date: Tue, 18 May 2010 13:49
Date: Tue, 18 May 2010 13:49
104 lines
4730 bytes
4730 bytes
On Tue, 18 May 2010 07:06:02 -0400, in message <4bf2749a$2$fuzhry+tra$mr2ice@news.patriot.net>
Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:
> >Are we talking about the same thing?
>
> Yes.
>
> >I am talking about the character encoding of message bodies,
>
> And headers[1].
I was talking about the character encoding only of message bodies.
> You realize that you didn't stipulate the presence of MIME-Version:,
> Content-Type: or Content-Transfer-Encoding: fields, don't you?
The OP already stipulated that for me. I quoted the OP's stipulation
in my reply to the OP. I was posting in that context, not conducting
an unrelated discussion.
| > Usenet messages are, AIUI, supposed be either (a) valid MIME messages
| > with a content-type, charset and transfer-encoding; or (b) non-MIME
| > messages in 7-bit ASCII.
Would this have been clearer had I repeated the OP's '(a)' a second time
as unquoted text?
> >It is not clear to me what you refer to by unencoded UTF-8 [...] in
> >bodies .
>
> Exactly what I wrote; a string of octets that were valid UTF-8. The
> only encoding was that of UCS-2 or UCS-4 into UTF-8.
The body of my previous message contained “a string of octets that
were valid UTF-8”. The only encoding was that of UCS-2 or UCS-4 into
UTF-8.
So according to this definition, my previous message body was unencoded UTF-8.
> >As a test case, tell me does this message here of mine count
> >as unencoded UTF-8 ?
>
> No; It has the appropriate MIME header fields. I haven't decoded it,
> but I assume that 'C2A0'x is a legitimate UTF-8 string.
You are now using a different criterion. Not whether the body is
“a string of octets that were valid UTF-8” but now whether the
message “has the appropriate MIME header fields”.
When the content-transfer-encoding is ‘8bit’, having the
“appropriate MIME header fields” does not change whether the
body is “a string of octets that were valid UTF-8”.
Anyway, to answer your question
| Then why do I keep seeing unencoded UTF-8, both in article headers and
| in bodies?
1. In headers.
My reply to the OP was referring to bodies.
2. In bodies
Using your definition #1: “a string of octets that were valid UTF-8”
News clients that know to produce valid MIME messages with a
content-type, charset and transfer-encoding, can also
legitimately create bodies that are “a string of octets that
are valid UTF-8”.
Using your definition #2: the message does not have “the appropriate MIME header fields”.
Almost all of the cases that I see are in quoted text.
For an example, see message
news:emteedee-8B8D21.13410016052010@mx01.eternal-september.org
in this thread. In cases like this, the poster is not
creating UTF-8 text. The poster’s client is simply copying
the raw bytes from the input message, as if they were a
SBCS (single-byte character set). The poster’s own text,
if 8-bit, is in a different charset.
You’ve asked why _you_ see something. Post links.
I’m not going to play guessing games. I don’t know where
you go, what kinds of things you do see or what you bluff at.
--
Regards
Ralph
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Indi
Date: Tue, 18 May 2010 15:24
Date: Tue, 18 May 2010 15:24
17 lines
2357 bytes
2357 bytes
On 2010-05-18, Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote: > > I'm still trying to catch up from being gone for a couple weeks > and coming back to what seems like hundreds of port upgrades that > want to be done. The ports system has holes enough in it that I > *almost* feel like I'm back in the dependency hell of RH 4.x era. > There's been a great deal of progress the last few weeks. For me the main thing was updating perl to 5.10 separately first, after that it all went down fairly easily. Of course it depends on what you have installed though... -- Caveat utilitor, indi
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Indi
Date: Tue, 18 May 2010 18:30
Date: Tue, 18 May 2010 18:30
22 lines
2231 bytes
2231 bytes
On 2010-05-18, Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote: > > I guess Debian doesn't "do" UTF-8 either. In the console, > this thread seems to show the ISO-8859-x characters, but none > of the multi-byte characters, whereas in X they all display > correctly. > It should work in Debian (assuming you're not using an ancient version), maybe you should check your settings. > > Easier to just use an xterm to do your ssh'ing from. ;-) > That wouldn't have made any difference, still ssh'ing into a text console. -- Caveat utilitor, indi
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼
Author: David Given
Date: Tue, 18 May 2010 18:38
Date: Tue, 18 May 2010 18:38
24 lines
2840 bytes
2840 bytes
On 18/05/10 09:13, Steve Ackman wrote:
[...]
> I guess Debian doesn't "do" UTF-8 either. In the console,
> this thread seems to show the ISO-8859-x characters, but none
> of the multi-byte characters, whereas in X they all display
> correctly.
I don't know whether you're talking about Debian-Linux or
Debian-FreeBSD, but I don't believe that Linux's console still uses (or
pretends to use) traditional PC hardware, which is limited to 256
characters in a font; so while it will *decode* UTF-8, it's severely
constrained as to what it can actually display.
There's jfbterm, which is a framebuffer app that claims to provide
proper Unicode on the console, but it's dog slow and (IMO) the fonts are
really ugly.
Don't know about FreeBSD.
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
Re: ?? etc; etc
Author: David Given
Date: Tue, 18 May 2010 18:42
Date: Tue, 18 May 2010 18:42
22 lines
2930 bytes
2930 bytes
On 18/05/10 01:06, Mike Dee wrote:
[...]
> I'll switch off my defaults and respond this time in kind and see how
> that goes. Am including your sig (that's a really good test source) :-)
The 'dg@cowlark.com' bit is actually made up of astral plane code points
--- that is, Unicode code points with values above 0xffff. These were
added after Java and Windows standardised on 16-bit wide characters,
which is the reason for the rather insane Java String class API! An
astonishing amount of software fails to handle them properly (by
confusing UTF-16 with UCS-2 and treating a pair of UTF-16 surrogates as
two Unicode code points, if you want the technical gibberish).
So if you can display those you've pretty much got it sussed.
(Yes, I am a Unicode geek in my spare time...)
--
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL
Re: Message encodings
Author: Shmuel Metz
Date: Tue, 18 May 2010 20:10
Date: Tue, 18 May 2010 20:10
82 lines
4971 bytes
4971 bytes
In <5325v55mqs0na07qn4gkvvbb38dqt42omu@4ax.com>, on 05/19/2010 at 01:49 AM, Ralph Fox <-rf-nz-@-.invalid> said: >I was talking about the character encoding only of message bodies. And I was saying that not only have I seen invalid octets in bodies, I've also seen them in headers. >The OP already stipulated that for me. No, the OP stipulated that for the OP. He did not stipulate it for *your* claim "Perhaps *ideally* (but not in practice), Usenet messages without a charset would use UTF-8." In fact, such articles would preclude his stipulation. >The body of my previous message contained a string of octets that >were valid UTF-8 . K3wl; I wasn't commenting on the UTF-8 in that article. You wrote "The reason being, those news clients which don't know how to provide MIME headers also don't understand UTF-8." That wasn't a claim specific to your article, and neither was my response, "Then why do I keep seeing unencoded UTF-8, both in article headers and in bodies?" >You are now using a different criterion. No. Your claim, which I quoted above, specifically referred to MIME headers. >When the content-transfer-encoding is 8bit , having the > appropriate MIME header fields does not change whether the body is >a string of octets that were valid UTF-8 . They can be valid UTF-8 even if CTE specifies 7bit. They are not, however, valid content for the body of the article containing them unless they match what is in the CT and CTE header fields. > My reply to the OP was referring to bodies. K3wl! How does that negate the fact that the same brokeness occurs in headers? > Using your definition #1: ITYM *your* definition #. > News clients that know to produce valid MIME messages with a > content-type, charset and transfer-encoding, can also > legitimately create bodies that are a string of octets that > are valid UTF-8 That has nothing to do with my question. The articles in question were not produced by news clients that know to produce valid MIME messages. > Using your definition #2: ITYM *your* definition #2. > Almost all of the cases that I see are in quoted text. How does that explain unencoded UTF-8 in, e.g., the Subject header field? > You ve asked why _you_ see something. Google for "rhetorical question". Or for "sarcasm". >Post links. <http://www.google.com>. I might have provided a more helpful link had you refrained from being deliberately obtuse. -- Shmuel (Seymour J.) Metz, SysProg and JOAT <http://patriot.net/~shmuel> Unsolicited bulk E-mail subject to legal action. I reserve the right to publicly post or ridicule any abusive E-mail. Reply to domain Patriot dot net user shmuel+news to contact me. Do not reply to spamtrap@library.lspace.org
Re: ?? etc; etc
Author: Mike Dee
Date: Wed, 19 May 2010 09:06
Date: Wed, 19 May 2010 09:06
37 lines
3793 bytes
3793 bytes
In article <7m3bc7-2pa.ln1@gate.cowlark.com>, David Given <dg@cowlark.com> wrote: > > The 'dg@cowlark.com' bit is actually made up of astral plane code points > --- that is, Unicode code points with values above 0xffff. These were > added after Java and Windows standardised on 16-bit wide characters, > which is the reason for the rather insane Java String class API! An > astonishing amount of software fails to handle them properly (by > confusing UTF-16 with UCS-2 and treating a pair of UTF-16 surrogates as > two Unicode code points, if you want the technical gibberish). > > So if you can display those you've pretty much got it sussed. I can view what you have in your sig. The 'dg@cowlark.com' bit looks absolutely perfectly legible and as you would be wanting it to be viewed. Its when I try to reply and include it in the reply if gets screwed up and I cannot get this client to correct it (normally I wouldn't be doing this anyway - it is a sig after all). > (Yes, I am a Unicode geek in my spare time...) > > -- > _]__ –_–₩–©––––₩––₩D–©–– _____ http://www.cowlark.com > _____ I asume that this won't look like you'd expect it to. Its as though when I hit "Reply" the text gets sent to a clip board and then pastes into the editor window as some fubar scrambled mess. I've given up on getting this prog to behave itself. I was happier with ISO Latin 1 or us-ascii anyway ;-) -- dee
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼ (was: Message encodings)
Author: Steve Ackman
Date: Fri, 21 May 2010 05:15
Date: Fri, 21 May 2010 05:15
18 lines
2905 bytes
2905 bytes
In <85g4lmFdhjU1@mid.individual.net>, on 18 May 2010 18:30:14 GMT, Indi, indi@satcidananda.16x108.merseine.nu wrote: > On 2010-05-18, Steve Ackman <steve@SNIP-THIS.twoloonscoffee.com> wrote: >> >> I guess Debian doesn't "do" UTF-8 either. In the console, >> this thread seems to show the ISO-8859-x characters, but none >> of the multi-byte characters, whereas in X they all display >> correctly. >> > > It should work in Debian (assuming you're not using an ancient > version), maybe you should check your settings. I'm on testing, so not *too* ancient. ;-) -- ☯☯
Re: ŮŦƑ✶⑧ įṩ ҡ∞ł‼ ѣůţ ɱũƨť ъэ ðõŋē Ʀȉǥħŧ‼‼
Author: Steve Ackman
Date: Fri, 21 May 2010 05:34
Date: Fri, 21 May 2010 05:34
36 lines
3670 bytes
3670 bytes
In <6e3bc7-rna.ln1@gate.cowlark.com>, on Tue, 18 May 2010 19:38:29 +0100, David Given, dg@cowlark.com wrote: > On 18/05/10 09:13, Steve Ackman wrote: > [...] >> I guess Debian doesn't "do" UTF-8 either. In the console, >> this thread seems to show the ISO-8859-x characters, but none >> of the multi-byte characters, whereas in X they all display >> correctly. > > I don't know whether you're talking about Debian-Linux or > Debian-FreeBSD, Debian Linux. I haven't gotten around to trying Debian GNU/kFreeBSD yet. I am downloading the mini.iso as I type though. > but I don't believe that Linux's console still uses (or > pretends to use) traditional PC hardware, which is limited to 256 > characters in a font; so while it will *decode* UTF-8, it's severely > constrained as to what it can actually display. > There's jfbterm, which is a framebuffer app that claims to provide > proper Unicode on the console, but it's dog slow and (IMO) the fonts are > really ugly. > > Don't know about FreeBSD. UTF-8 is mostly a curiosity for me. I generally have about a dozen xterms open, but nothing really on a console, so it can wait for the longterm tuit. -- ☯☯ Unlimited webspace - Unlimited bandwidth http://www.dreamhost.com/r.cgi?74713
Page 2 of 3 • 106 total messages
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