Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus refuses to post to Norwegian groups
@ 2001-04-25 16:36 Thomas Skogestad
  2001-04-25 17:37 ` Kai Großjohann
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Skogestad @ 2001-04-25 16:36 UTC (permalink / raw)


I write, I try to post to norge-sør-trøndelag

1. I'm told that the newsgroups line is, do I really want to post?

2. I'm told that some text is unencoded, really post? I answer yes. "Cannot
send unencoded text."

The subject line is: Kåtinger!
The body of the article is just a link to a web page.

3. I try again and answer yes. But

441 No valid newsgroups in "=?iso-8859-1?q?norge.s=F8r-tr=F8ndelag?=" 
Couldn't send message via news: 441 No valid newsgroups in "=?iso-8859-1?q?norge.s=F8r-tr=F8ndelag?=" 

MIME is obviously evil and should be killed _now_.

-- 
thomas.skogestad@jusstud.uio.no
http://quimby.gnus.org/circus/problem.gif
http://www.messengers-of-messiah.org/~csebold/emacs/why.phtml


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Gnus refuses to post to Norwegian groups
  2001-04-25 16:36 Gnus refuses to post to Norwegian groups Thomas Skogestad
@ 2001-04-25 17:37 ` Kai Großjohann
  2001-04-25 20:33   ` Bjørn Mork
  0 siblings, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2001-04-25 17:37 UTC (permalink / raw)
  Cc: ding

See the variable gnus-group-posting-charset-alist.  With that, you
should be able to tell Gnus to use unencoded 8bit characters for that
group name.

kai
-- 
The passive voice should never be used.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Gnus refuses to post to Norwegian groups
  2001-04-25 17:37 ` Kai Großjohann
@ 2001-04-25 20:33   ` Bjørn Mork
  2001-04-26  6:16     ` Kai Großjohann
  2001-04-26 14:13     ` ShengHuo ZHU
  0 siblings, 2 replies; 8+ messages in thread
From: Bjørn Mork @ 2001-04-25 20:33 UTC (permalink / raw)


Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> See the variable gnus-group-posting-charset-alist.  With that, you
> should be able to tell Gnus to use unencoded 8bit characters for that
> group name.

Gnus should never encode a newsgroup name. It's not text. There is no
need to worry about charsets and encodings. Just use whatever octet
sequence the news server sent in the active list.


Bjørn
-- 
So, everything is really a surfboard?  


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Gnus refuses to post to Norwegian groups
  2001-04-25 20:33   ` Bjørn Mork
@ 2001-04-26  6:16     ` Kai Großjohann
  2001-04-26 10:30       ` Bjørn Mork
  2001-04-26 14:13     ` ShengHuo ZHU
  1 sibling, 1 reply; 8+ messages in thread
From: Kai Großjohann @ 2001-04-26  6:16 UTC (permalink / raw)
  Cc: ding

On 25 Apr 2001, Bjørn Mork wrote:

> Gnus should never encode a newsgroup name. It's not text. There is
> no need to worry about charsets and encodings. Just use whatever
> octet sequence the news server sent in the active list.

Hm?  What if the user enters a value?  Suppose the hk.* hierarchy uses
the GB encoding by default, but somebody wishes to post in UTF-8?
(Purely hypothetical example.)

kai
-- 
The passive voice should never be used.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Gnus refuses to post to Norwegian groups
  2001-04-26  6:16     ` Kai Großjohann
@ 2001-04-26 10:30       ` Bjørn Mork
  2001-04-26 12:59         ` Per Abrahamsen
  0 siblings, 1 reply; 8+ messages in thread
From: Bjørn Mork @ 2001-04-26 10:30 UTC (permalink / raw)
  Cc: ding

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> On 25 Apr 2001, Bjørn Mork wrote:
> 
> > Gnus should never encode a newsgroup name. It's not text. There is
> > no need to worry about charsets and encodings. Just use whatever
> > octet sequence the news server sent in the active list.
> 
> Hm?  What if the user enters a value?  Suppose the hk.* hierarchy uses
> the GB encoding by default, but somebody wishes to post in UTF-8?
> (Purely hypothetical example.)

Good point. Since anything but 7bit is strictly non-standard, I don't
see any other possibility than asking the user. Or maybe try a few
encodings first to see if the group exists and only ask the user if
all of them fails?


Bjørn


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Gnus refuses to post to Norwegian groups
  2001-04-26 10:30       ` Bjørn Mork
@ 2001-04-26 12:59         ` Per Abrahamsen
  2001-04-26 13:40           ` ShengHuo ZHU
  0 siblings, 1 reply; 8+ messages in thread
From: Per Abrahamsen @ 2001-04-26 12:59 UTC (permalink / raw)


The USEFOR draft specify UTF-8 as the default character set for news
headers (in particular Newsgroups).  This is the future, and I think
Gnus should default to that, at least for the Newsgroups header (where
QP doesn't make sense).

I also think it is a really bad idea to create newsgroup with names in
other character sets than UTF-8.  It is just going to make the
transition period from ASCII harder.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Gnus refuses to post to Norwegian groups
  2001-04-26 12:59         ` Per Abrahamsen
@ 2001-04-26 13:40           ` ShengHuo ZHU
  0 siblings, 0 replies; 8+ messages in thread
From: ShengHuo ZHU @ 2001-04-26 13:40 UTC (permalink / raw)


Per Abrahamsen <abraham@dina.kvl.dk> writes:

> The USEFOR draft specify UTF-8 as the default character set for news
> headers (in particular Newsgroups).

It is possible in Gnus.  gnus-group-name-charset-method-alist and
gnus-group-name-charset-group-alist handle this issue.  But I only
tested it for CN-GB-2312, because there are sites use Chinese
characters as Newsgroups names.  I think it could be used for UTF-8.

> This is the future, and I think Gnus should default to that, at
> least for the Newsgroups header (where QP doesn't make sense).

I'll interpret the future as when Emacsen have a full built-in UTF-8
support.

> I also think it is a really bad idea to create newsgroup with names
> in other character sets than UTF-8.  It is just going to make the
> transition period from ASCII harder.

ShengHuo


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Gnus refuses to post to Norwegian groups
  2001-04-25 20:33   ` Bjørn Mork
  2001-04-26  6:16     ` Kai Großjohann
@ 2001-04-26 14:13     ` ShengHuo ZHU
  1 sibling, 0 replies; 8+ messages in thread
From: ShengHuo ZHU @ 2001-04-26 14:13 UTC (permalink / raw)


"Bjørn Mork" <bmork@dod.no> writes:

> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> 
> > See the variable gnus-group-posting-charset-alist.  With that, you
> > should be able to tell Gnus to use unencoded 8bit characters for that
> > group name.
> 
> Gnus should never encode a newsgroup name. It's not text. There is no
> need to worry about charsets and encodings. Just use whatever octet
> sequence the news server sent in the active list.

The encoding mentioned here has two phases. One is charset encoding,
the other is QP-like encoding.  If you want to send octet sequence to
a news server, the newsgroup name must be encoded in a certain
charset.  Sometimes, it is not an issue for iso-8859-1 characters,
because Emacs encodes them behind you.

ShengHuo


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-04-26 14:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-25 16:36 Gnus refuses to post to Norwegian groups Thomas Skogestad
2001-04-25 17:37 ` Kai Großjohann
2001-04-25 20:33   ` Bjørn Mork
2001-04-26  6:16     ` Kai Großjohann
2001-04-26 10:30       ` Bjørn Mork
2001-04-26 12:59         ` Per Abrahamsen
2001-04-26 13:40           ` ShengHuo ZHU
2001-04-26 14:13     ` ShengHuo ZHU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).