Traceback when trying to search in Advanced->History Manager with non-english locale
Bug description
Traceback (most recent call last):
File "history_manager.py", line 621, in on_search_db_button_clicked
self._fill_search_results_listview(text)
File "history_manager.py", line 414, in _fill_search_results_listview
''', (like_sql, like_sql))
sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
Steps to reproduce
Open menu Actions->Advanced->History Manager
Enter a string in non-english locale(i'm using russian here) to search and press enter.
Software versions
OS version: Gentoo the latest
GTK version: 2.18.3
PyGTK version: 2.16.0