Opened 15 years ago
Closed 15 years ago
#4 closed enhancement (fixed)
Add encoding to checkgroups processing
Reported by: | eagle | Owned by: | eagle |
---|---|---|---|
Priority: | low | Milestone: | 2.5.0 |
Component: | utilities | Version: | |
Severity: | wishlist | Keywords: | compliance |
Cc: |
Description
Add encoding specifications such as:
# Output encoding for newsgroups file. /encoding/:utf-8 # Incoming encodings in checkgroups. /encoding/:*:cp1252 /encoding/:cn.*:gb18030 /encoding/:fido.*:utf-8 /encoding/:fr.*:iso-8859-15
and then update docheckgroups processing to use iconv to convert newsgroup descriptions to the output encoding before adding them to newsgroups.
Change History (5)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Milestone: | → 2.5.0 |
---|
comment:3 Changed 15 years ago by
Keywords: | compliance added |
---|
Descriptions SHOULD be in UTF-8, according to RFC 3977. Encoding specifications permit to comply with that.
comment:4 Changed 15 years ago by
(In [8315]) Add encoding to newgroup processing: controlchan now looks
for the charset and try to convert the description into
the local encoding.
Defaults are cp1252 for expected encodings (unless the charset
is properly set in the newgroup message, or control.ctl
dictates another charset) and utf-8 for the local encoding.
Add a few encoding exceptions to control.ctl.local.
(The man pages will be updated when checkgroups are also
processed the same way.)
see #4
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [8375]) Add encodings to checkgroups processing: controlchan now looks
for the charset and try to convert the descriptions into
the local encoding.
Defaults are cp1252 for expected encodings (unless the charset
is properly set in the checkgroups message, or control.ctl
dictates another charset) and utf-8 for the local encoding.
close #4
There is also control/modules/newgroup.pl to update because encodings are also used there (new description or change of description of a newsgroup).