chiark / gitweb /
read/write F-Droid files always as UTF-8
authorHans-Christoph Steiner <hans@eds.org>
Tue, 7 Jun 2016 11:35:13 +0000 (13:35 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 7 Jun 2016 12:10:04 +0000 (14:10 +0200)
commitafd528731a48a38c969a6aef443a045949431073
tree383358cd41b230fde287b84b9d505010185a0940
parent444e8ad982a7431e7529c856a7431f9d97e3afc4
read/write F-Droid files always as UTF-8

This makes UTF-8 the sole supported encoding for F-Droid's files. This is
mostly codifying the already existing practice for config.py and index.xml.
The other files where always just ASCII before.

* config.py
* metadata/*.txt
* known_apks.txt
* categories.txt
* latestapps.txt
* latestapps.dat
* index.xml

Note: this does not change the read/write encoding of stats files.  That is
still ASCII.
fdroidserver/common.py
fdroidserver/init.py
fdroidserver/metadata.py
fdroidserver/rewritemeta.py
fdroidserver/update.py