diff --git a/searx/templates/courgette/404.html b/searx/templates/courgette/404.html
index 7a317f02..77f1287a 100644
--- a/searx/templates/courgette/404.html
+++ b/searx/templates/courgette/404.html
@@ -3,7 +3,7 @@
{{ _('Page not found') }}
{% autoescape false %}
-
{{ _('Go to %(search_page)s.', search_page='{}'.format(url_for('index'), _('search page'))) }}
+
{{ _('Go to %(search_page)s.', search_page='{}'.decode('utf-8').format(url_for('index'), _('search page'))) }}
{% endautoescape %}
{% endblock %}
diff --git a/searx/templates/default/404.html b/searx/templates/default/404.html
index dc968a10..1d88f86c 100644
--- a/searx/templates/default/404.html
+++ b/searx/templates/default/404.html
@@ -3,7 +3,7 @@
{{ _('Page not found') }}
{% autoescape false %}
-
{{ _('Go to %(search_page)s.', search_page='{}'.format(url_for('index'), _('search page'))) }}
+
{{ _('Go to %(search_page)s.', search_page='{}'.decode('utf-8').format(url_for('index'), _('search page'))) }}
{% endautoescape %}
{% endblock %}
diff --git a/searx/templates/oscar/404.html b/searx/templates/oscar/404.html
index cdb31db7..11d78956 100644
--- a/searx/templates/oscar/404.html
+++ b/searx/templates/oscar/404.html
@@ -3,7 +3,7 @@
{{ _('Page not found') }}
{% autoescape false %}
-
{{ _('Go to %(search_page)s.', search_page='{}'.format(url_for('index'), _('search page'))) }}
+
{{ _('Go to %(search_page)s.', search_page='{}'.decode('utf-8').format(url_for('index'), _('search page'))) }}
{% endautoescape %}
{% endblock %}
diff --git a/searx/templates/pix-art/404.html b/searx/templates/pix-art/404.html
index 27a61408..592e8610 100644
--- a/searx/templates/pix-art/404.html
+++ b/searx/templates/pix-art/404.html
@@ -3,7 +3,7 @@
{{ _('Page not found') }}
{% autoescape false %}
-
{{ _('Go to %(search_page)s.', search_page='{}'.format(url_for('index'), _('search page'))) }}
+
{{ _('Go to %(search_page)s.', search_page='{}'.decode('utf-8').format(url_for('index'), _('search page'))) }}
{% endautoescape %}
{% endblock %}