on master help sign in
[fix] external_bang - UnicodeDecodeError: 'ascii' codec can't decode (#2043)
f9faafaMarkus Heiser
utils/templates/etc/uwsgi/apps-archlinux/searx.ini+5
@@ -9,6 +9,11 @@
9uid = ${SERVICE_USER}
9uid = ${SERVICE_USER}
10gid = ${SERVICE_GROUP}
10gid = ${SERVICE_GROUP}
11
11
12+# set (python) default encoding UTF-8
13+env = LANG=C.UTF-8
14+env = LANGUAGE=C.UTF-8
15+env = LC_ALL=C.UTF-8
16+
12# chdir to specified directory before apps loading
17# chdir to specified directory before apps loading
13chdir = ${SEARX_SRC}/searx
18chdir = ${SEARX_SRC}/searx
14
19
utils/templates/etc/uwsgi/apps-archlinux/searx.ini:socket+5
@@ -9,6 +9,11 @@
9uid = ${SERVICE_USER}
9uid = ${SERVICE_USER}
10gid = ${SERVICE_GROUP}
10gid = ${SERVICE_GROUP}
11
11
12+# set (python) default encoding UTF-8
13+env = LANG=C.UTF-8
14+env = LANGUAGE=C.UTF-8
15+env = LC_ALL=C.UTF-8
16+
12# chdir to specified directory before apps loading
17# chdir to specified directory before apps loading
13chdir = ${SEARX_SRC}/searx
18chdir = ${SEARX_SRC}/searx
14
19
utils/templates/etc/uwsgi/apps-available/searx.ini+5
@@ -9,6 +9,11 @@
9uid = ${SERVICE_USER}
9uid = ${SERVICE_USER}
10gid = ${SERVICE_GROUP}
10gid = ${SERVICE_GROUP}
11
11
12+# set (python) default encoding UTF-8
13+env = LANG=C.UTF-8
14+env = LANGUAGE=C.UTF-8
15+env = LC_ALL=C.UTF-8
16+
12# chdir to specified directory before apps loading
17# chdir to specified directory before apps loading
13chdir = ${SEARX_SRC}/searx
18chdir = ${SEARX_SRC}/searx
14
19
utils/templates/etc/uwsgi/apps-available/searx.ini:socket+5
@@ -9,6 +9,11 @@
9uid = ${SERVICE_USER}
9uid = ${SERVICE_USER}
10gid = ${SERVICE_GROUP}
10gid = ${SERVICE_GROUP}
11
11
12+# set (python) default encoding UTF-8
13+env = LANG=C.UTF-8
14+env = LANGUAGE=C.UTF-8
15+env = LC_ALL=C.UTF-8
16+
12# chdir to specified directory before apps loading
17# chdir to specified directory before apps loading
13chdir = ${SEARX_SRC}/searx
18chdir = ${SEARX_SRC}/searx
14
19