Tradindexed with non ASCII newsgroup names

Julien ÉLIE julien at trigofacile.com
Fri May 8 13:13:33 UTC 2015


Hi all,

Though tradindexed overview technically works with international 
newsgroup names (UTF-8), one should note the following thing:

~/spool/overview/t/t% find .
./trigofacile.test.IDX
./trigofacile.test.DAT
./v
./v/trigofacile.test.vide.IDX
./v/trigofacile.test.vide.DAT
./?
./?/trigofacile.test.υτφ8.IDX
./?/trigofacile.test.υτφ8.DAT
./?
./?/trigofacile.test.ᾅ.IDX
./?/trigofacile.test.ᾅ.DAT
./?/trigofacile.test.ᾅ.IDX
./?/trigofacile.test.ᾅ.DAT
./?/trigofacile.test.ᾅ.IDX
./?/trigofacile.test.ᾅ.DAT
./?
./?/trigofacile.test.ᾅ.IDX
./?/trigofacile.test.ᾅ.DAT

The "?" chars in my terminal are:  '\316', '\317' and '\341'.

The directory structure is made with the first byte of each component. 
Thus, for instance trigofacile.test.υτφ8 is not in spool/overview/t/t/υ 
(upsilon).

Finding a newsgroup in such a structure will be harder for a human.

Maybe we should keep it as-is (otherwise, performance will probably be 
affected if we have to first extract the first UTF-8 character of each 
component).

-- 
Julien ÉLIE

« Vinum bonum laetificat cor hominis. »


More information about the inn-workers mailing list