searxng/searx
Joseph Nuthalapati bdc803e185
Make Python 3 able to read settings files with Unicode characters
SearX currently doesn't start up when run with Python 3 as it tries to parse the
settings.yml file with ASCII codecs.
There are similar problems with engines_languages.json and currencies.json
Python 3 requires that files with Unicode characters be read with a 'b' flag.
This also works with Python 2 and hence can be integrated into the main source
code.

Tested with the latest Python 3.6.4rc1 on Debian unstable.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-12-21 17:33:19 +05:30
..
answerers [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
data update engines_languages.json and languages.py 2017-10-10 16:53:28 -05:00
engines Make Python 3 able to read settings files with Unicode characters 2017-12-21 17:33:19 +05:30
plugins minor fixes of doi resolver 2017-11-01 17:02:38 +01:00
static Merge pull request #1109 from dalf/simple_magnet_svg 2017-12-06 14:28:03 +01:00
templates revert changin about to searx docs 2017-12-12 22:02:23 +01:00
translations [enh] update translations 2017-11-21 17:04:25 +01:00
__init__.py Make Python 3 able to read settings files with Unicode characters 2017-12-21 17:33:19 +05:30
autocomplete.py [fix] use py2/3 compatibility layer 2017-07-10 11:42:44 +02:00
exceptions.py [enh] validate input and raise an exception inside search.py. The exception message is output in json and rss format. 2017-01-20 18:52:47 +01:00
languages.py update engines_languages.json and languages.py 2017-10-10 16:53:28 -05:00
poolrequests.py [fix] measure request duration only if total_time attribute is set - fixes autocompleter 2017-11-23 01:52:54 +01:00
preferences.py [fix] do not save engine/plugin cookies as unknown settings options - fixes #1110 2017-12-11 00:20:28 +01:00
query.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
results.py [fix] skip non-string result url/title/content 2017-12-01 20:54:12 +01:00
search.py remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
settings.yml remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
settings_robot.yml remove 'all' option from search languages 2017-12-06 01:20:15 -06:00
testing.py [enh] py3 compatibility 2017-05-15 12:02:30 +02:00
url_utils.py minor fixes of pubmed engine 2017-11-01 17:02:38 +01:00
utils.py [fix] convert json engine result attributes to string - closes #1006 2017-12-01 20:54:12 +01:00
version.py [enh] version 0.13.1 2017-11-23 17:59:06 +01:00
webapp.py Merge pull request #973 from MarcAbonce/languages 2017-12-06 14:34:26 +01:00