]> Sergey Matveev's repositories - public-inbox.git/commit
treat $INBOX_DIR/description and gitweb.owner as UTF-8
authorEric Wong <e@yhbt.net>
Thu, 28 May 2020 18:37:08 +0000 (18:37 +0000)
committerEric Wong <e@yhbt.net>
Fri, 29 May 2020 19:01:04 +0000 (19:01 +0000)
commit846161e3d1207d59f62b3a6718221d6f5ba2b94f
treeaa6a2807f842f36389daa9790864fd9b7f2ae36a
parentace6491217a6aa894ca82c967c42f1df168d7855
treat $INBOX_DIR/description and gitweb.owner as UTF-8

gitweb does the same with $GIT_DIR/description and gitweb.owner.

Allowing UTF-8 description should not cause problems when used
in responses for to the NNTP "LIST NEWSGROUPS" request, either,
since RFC 3977 section 7.6.6 recommends the description be UTF-8
(but does not require it).

Link: https://public-inbox.org/meta/20200528151216.l7vmnmrs4ojw372g@sourcephile.fr/
lib/PublicInbox/Inbox.pm
lib/PublicInbox/WwwListing.pm
t/inbox.t
t/www_listing.t