chiark / gitweb /
FDroidPopen must have a locale to support UTF-8 filenames
authorHans-Christoph Steiner <hans@eds.org>
Thu, 23 Jun 2016 15:11:49 +0000 (17:11 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 27 Jun 2016 18:30:32 +0000 (20:30 +0200)
commit1be263e8701087f0ac492a2ef9de33c38d4044ee
treed5b98a17edb48b1c99afb3ac74f39664a8cf5d40
parent82e268924610801097506ac3458fab9a7af71ff7
FDroidPopen must have a locale to support UTF-8 filenames

`fdroid update` should be able to handle any valid filename (hopefully
aapt doesn't barf on them).  To handle that, the environment where the
shell commands are run in needs to have a UTF-8 locale set. If LANG is
not set, things default to ASCII and UTF-8 filenames fail.

This also renames test APK with lots of Unicode chars as a test case.

closes #167
fdroidserver/common.py
tests/repo/urzip-πÇÇπÇÇ现代汉语通用字-български-عربي1234.apk [new file with mode: 0644]
tests/repo/urzip.apk [deleted file]
tests/run-tests