diff --git a/rhodecode/templates/admin/user_groups/user_groups.mako b/rhodecode/templates/admin/user_groups/user_groups.mako
--- a/rhodecode/templates/admin/user_groups/user_groups.mako
+++ b/rhodecode/templates/admin/user_groups/user_groups.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/admin/users/user_add.mako b/rhodecode/templates/admin/users/user_add.mako
--- a/rhodecode/templates/admin/users/user_add.mako
+++ b/rhodecode/templates/admin/users/user_add.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/admin/users/user_edit.mako b/rhodecode/templates/admin/users/user_edit.mako
--- a/rhodecode/templates/admin/users/user_edit.mako
+++ b/rhodecode/templates/admin/users/user_edit.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/admin/users/user_edit_audit.mako b/rhodecode/templates/admin/users/user_edit_audit.mako
--- a/rhodecode/templates/admin/users/user_edit_audit.mako
+++ b/rhodecode/templates/admin/users/user_edit_audit.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.mako"/>
diff --git a/rhodecode/templates/admin/users/user_edit_groups.mako b/rhodecode/templates/admin/users/user_edit_groups.mako
--- a/rhodecode/templates/admin/users/user_edit_groups.mako
+++ b/rhodecode/templates/admin/users/user_edit_groups.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.mako"/>
diff --git a/rhodecode/templates/admin/users/users.mako b/rhodecode/templates/admin/users/users.mako
--- a/rhodecode/templates/admin/users/users.mako
+++ b/rhodecode/templates/admin/users/users.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/artifacts/artifact_list.mako b/rhodecode/templates/artifacts/artifact_list.mako
--- a/rhodecode/templates/artifacts/artifact_list.mako
+++ b/rhodecode/templates/artifacts/artifact_list.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/base/base.mako b/rhodecode/templates/base/base.mako
--- a/rhodecode/templates/base/base.mako
+++ b/rhodecode/templates/base/base.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%!
from rhodecode.lib import html_filters
diff --git a/rhodecode/templates/base/root.mako b/rhodecode/templates/base/root.mako
--- a/rhodecode/templates/base/root.mako
+++ b/rhodecode/templates/base/root.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%
diff --git a/rhodecode/templates/bookmarks/bookmarks.mako b/rhodecode/templates/bookmarks/bookmarks.mako
--- a/rhodecode/templates/bookmarks/bookmarks.mako
+++ b/rhodecode/templates/bookmarks/bookmarks.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%namespace name="components" file="/summary/components.mako"/>
diff --git a/rhodecode/templates/branches/branches.mako b/rhodecode/templates/branches/branches.mako
--- a/rhodecode/templates/branches/branches.mako
+++ b/rhodecode/templates/branches/branches.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%namespace name="components" file="/summary/components.mako"/>
diff --git a/rhodecode/templates/changeset/changeset.mako b/rhodecode/templates/changeset/changeset.mako
--- a/rhodecode/templates/changeset/changeset.mako
+++ b/rhodecode/templates/changeset/changeset.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%namespace name="base" file="/base/base.mako"/>
diff --git a/rhodecode/templates/changeset/changeset_file_comment.mako b/rhodecode/templates/changeset/changeset_file_comment.mako
--- a/rhodecode/templates/changeset/changeset_file_comment.mako
+++ b/rhodecode/templates/changeset/changeset_file_comment.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
## usage:
## <%namespace name="comment" file="/changeset/changeset_file_comment.mako"/>
## ${comment.comment_block(comment)}
diff --git a/rhodecode/templates/changeset/changeset_range.mako b/rhodecode/templates/changeset/changeset_range.mako
--- a/rhodecode/templates/changeset/changeset_range.mako
+++ b/rhodecode/templates/changeset/changeset_range.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/commits/changelog.mako b/rhodecode/templates/commits/changelog.mako
--- a/rhodecode/templates/commits/changelog.mako
+++ b/rhodecode/templates/commits/changelog.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
diff --git a/rhodecode/templates/compare/compare_diff.mako b/rhodecode/templates/compare/compare_diff.mako
--- a/rhodecode/templates/compare/compare_diff.mako
+++ b/rhodecode/templates/compare/compare_diff.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%namespace name="cbdiffs" file="/codeblocks/diffs.mako"/>
diff --git a/rhodecode/templates/email_templates/base.mako b/rhodecode/templates/email_templates/base.mako
--- a/rhodecode/templates/email_templates/base.mako
+++ b/rhodecode/templates/email_templates/base.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
## helpers
<%def name="tag_button(text, tag_type=None)">
diff --git a/rhodecode/templates/email_templates/commit_comment.mako b/rhodecode/templates/email_templates/commit_comment.mako
--- a/rhodecode/templates/email_templates/commit_comment.mako
+++ b/rhodecode/templates/email_templates/commit_comment.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/email_templates/email_test.mako b/rhodecode/templates/email_templates/email_test.mako
--- a/rhodecode/templates/email_templates/email_test.mako
+++ b/rhodecode/templates/email_templates/email_test.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/email_templates/exception_tracker.mako b/rhodecode/templates/email_templates/exception_tracker.mako
--- a/rhodecode/templates/email_templates/exception_tracker.mako
+++ b/rhodecode/templates/email_templates/exception_tracker.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/email_templates/main.mako b/rhodecode/templates/email_templates/main.mako
--- a/rhodecode/templates/email_templates/main.mako
+++ b/rhodecode/templates/email_templates/main.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim,whitespace_filter">
diff --git a/rhodecode/templates/email_templates/password_reset.mako b/rhodecode/templates/email_templates/password_reset.mako
--- a/rhodecode/templates/email_templates/password_reset.mako
+++ b/rhodecode/templates/email_templates/password_reset.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/email_templates/password_reset_confirmation.mako b/rhodecode/templates/email_templates/password_reset_confirmation.mako
--- a/rhodecode/templates/email_templates/password_reset_confirmation.mako
+++ b/rhodecode/templates/email_templates/password_reset_confirmation.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/email_templates/pull_request_comment.mako b/rhodecode/templates/email_templates/pull_request_comment.mako
--- a/rhodecode/templates/email_templates/pull_request_comment.mako
+++ b/rhodecode/templates/email_templates/pull_request_comment.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/email_templates/pull_request_review.mako b/rhodecode/templates/email_templates/pull_request_review.mako
--- a/rhodecode/templates/email_templates/pull_request_review.mako
+++ b/rhodecode/templates/email_templates/pull_request_review.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/email_templates/pull_request_update.mako b/rhodecode/templates/email_templates/pull_request_update.mako
--- a/rhodecode/templates/email_templates/pull_request_update.mako
+++ b/rhodecode/templates/email_templates/pull_request_update.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/email_templates/test.mako b/rhodecode/templates/email_templates/test.mako
--- a/rhodecode/templates/email_templates/test.mako
+++ b/rhodecode/templates/email_templates/test.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim,whitespace_filter">
diff --git a/rhodecode/templates/email_templates/update_available.mako b/rhodecode/templates/email_templates/update_available.mako
--- a/rhodecode/templates/email_templates/update_available.mako
+++ b/rhodecode/templates/email_templates/update_available.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim,whitespace_filter">
diff --git a/rhodecode/templates/email_templates/user_registration.mako b/rhodecode/templates/email_templates/user_registration.mako
--- a/rhodecode/templates/email_templates/user_registration.mako
+++ b/rhodecode/templates/email_templates/user_registration.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%namespace name="base" file="base.mako"/>
diff --git a/rhodecode/templates/errors/error_document.mako b/rhodecode/templates/errors/error_document.mako
--- a/rhodecode/templates/errors/error_document.mako
+++ b/rhodecode/templates/errors/error_document.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
diff --git a/rhodecode/templates/feed/atom_feed_entry.mako b/rhodecode/templates/feed/atom_feed_entry.mako
--- a/rhodecode/templates/feed/atom_feed_entry.mako
+++ b/rhodecode/templates/feed/atom_feed_entry.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
${_('%(user)s committed on %(date)s UTC') % {
'user': h.person(commit.author),
diff --git a/rhodecode/templates/forks/fork.mako b/rhodecode/templates/forks/fork.mako
--- a/rhodecode/templates/forks/fork.mako
+++ b/rhodecode/templates/forks/fork.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/forks/forks.mako b/rhodecode/templates/forks/forks.mako
--- a/rhodecode/templates/forks/forks.mako
+++ b/rhodecode/templates/forks/forks.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/index.mako b/rhodecode/templates/index.mako
--- a/rhodecode/templates/index.mako
+++ b/rhodecode/templates/index.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="index_base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/index_repo_group.mako b/rhodecode/templates/index_repo_group.mako
--- a/rhodecode/templates/index_repo_group.mako
+++ b/rhodecode/templates/index_repo_group.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="index_base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/journal/journal.mako b/rhodecode/templates/journal/journal.mako
--- a/rhodecode/templates/journal/journal.mako
+++ b/rhodecode/templates/journal/journal.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Journal')}
diff --git a/rhodecode/templates/journal/journal_data.mako b/rhodecode/templates/journal/journal_data.mako
--- a/rhodecode/templates/journal/journal_data.mako
+++ b/rhodecode/templates/journal/journal_data.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.mako"/>
%if c.journal_day_aggreagate:
diff --git a/rhodecode/templates/journal/public_journal.mako b/rhodecode/templates/journal/public_journal.mako
--- a/rhodecode/templates/journal/public_journal.mako
+++ b/rhodecode/templates/journal/public_journal.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Public Journal')}
diff --git a/rhodecode/templates/login.mako b/rhodecode/templates/login.mako
--- a/rhodecode/templates/login.mako
+++ b/rhodecode/templates/login.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base/root.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/password_reset.mako b/rhodecode/templates/password_reset.mako
--- a/rhodecode/templates/password_reset.mako
+++ b/rhodecode/templates/password_reset.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base/root.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/register.mako b/rhodecode/templates/register.mako
--- a/rhodecode/templates/register.mako
+++ b/rhodecode/templates/register.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="base/root.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/rst_templates/auto_status_change.mako b/rhodecode/templates/rst_templates/auto_status_change.mako
--- a/rhodecode/templates/rst_templates/auto_status_change.mako
+++ b/rhodecode/templates/rst_templates/auto_status_change.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
Auto status change to |new_status|
.. |new_status| replace:: *"${new_status_label}"*
\ No newline at end of file
diff --git a/rhodecode/templates/rst_templates/pull_request_update.mako b/rhodecode/templates/rst_templates/pull_request_update.mako
--- a/rhodecode/templates/rst_templates/pull_request_update.mako
+++ b/rhodecode/templates/rst_templates/pull_request_update.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
Pull request updated. Auto status change to |under_review|
.. role:: added
diff --git a/rhodecode/templates/search/search.mako b/rhodecode/templates/search/search.mako
--- a/rhodecode/templates/search/search.mako
+++ b/rhodecode/templates/search/search.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
diff --git a/rhodecode/templates/summary/summary_commits.mako b/rhodecode/templates/summary/summary_commits.mako
--- a/rhodecode/templates/summary/summary_commits.mako
+++ b/rhodecode/templates/summary/summary_commits.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%namespace name="base" file="/base/base.mako"/>
%if c.repo_commits:
diff --git a/rhodecode/templates/tags/tags.mako b/rhodecode/templates/tags/tags.mako
--- a/rhodecode/templates/tags/tags.mako
+++ b/rhodecode/templates/tags/tags.mako
@@ -1,4 +1,3 @@
-## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%namespace name="components" file="/summary/components.mako"/>