enhance checkgroups handling

Julien ÉLIE julien at trigofacile.com
Sat Dec 6 19:44:00 UTC 2008


Hi,

> # If there is only a colon, it sets the encoding wanted for the newsgroups file.
> /encoding/:utf-8
>
> # If there are two colons, it sets the encoding of incoming control messages.
> # (cp1252 works better than iso-8859-1 for all hierarchies, since it is an extension.)
> /encoding/:*:cp1252
> /encoding/:cn.*:gb18030
> /encoding/:fido.*:utf-8
> /encoding/:fr.*:iso-8859-15

Do you think something like that could be put into control.ctl?
Or is it better to have the same lines without "/encoding/" in a separate file?

We would then have three files:

* control.ctl
* control.ctl.local for local modifications (read after control.ctl)
* control.ctl.encodings for encodings

It might be too much for control handling, mightn't it?

Any better solutions?

-- 
Julien ÉLIE

« Il ne faut compter que sur soi-même.
  Et encore, pas beaucoup. » (Tristan Bernard)




More information about the inn-workers mailing list