use utf-8 as default encoding for config.py

This makes it easy to add all languages to the description.
This commit is contained in:
Hans-Christoph Steiner 2016-02-16 23:36:27 +01:00
parent f861faa86d
commit a7a053c4f5
3 changed files with 42 additions and 0 deletions

View file

@ -121,6 +121,22 @@ if [ `uname -s` == "Linux" ]; then
fi
#------------------------------------------------------------------------------#
echo_header "test UTF-8 metadata"
REPOROOT=`create_test_dir`
cd $REPOROOT
$fdroid init
sed -i.tmp 's,^ *repo_description.*,repo_description = """获取已安装在您的设备上的应用的,' config.py
mkdir metadata
cp $WORKSPACE/tests/urzip.apk repo/
cp $WORKSPACE/tests/metadata/info.guardianproject.urzip.txt metadata/
$fdroid readmeta
$fdroid update
#------------------------------------------------------------------------------#
echo_header "test metadata checks"