Add source code encoding and newline with hash before license

Signed-off-by: Daniel Lim Wee Soong <weesoong.lim@gmail.com>
diff --git a/tests/test_v2x.py b/tests/test_v2x.py
index d698ae0..8c3c83c 100644
--- a/tests/test_v2x.py
+++ b/tests/test_v2x.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/__main__.py b/v2x/__main__.py
index 147e81e..0a33dce 100644
--- a/v2x/__main__.py
+++ b/v2x/__main__.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/lib/argparse_extra.py b/v2x/lib/argparse_extra.py
index d9ef839..4dc1ab3 100644
--- a/v2x/lib/argparse_extra.py
+++ b/v2x/lib/argparse_extra.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/lib/asserts.py b/v2x/lib/asserts.py
index f823784..8f5b4ad 100644
--- a/v2x/lib/asserts.py
+++ b/v2x/lib/asserts.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/lib/mux.py b/v2x/lib/mux.py
index e1a47a4..68b954a 100644
--- a/v2x/lib/mux.py
+++ b/v2x/lib/mux.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/mux_gen.py b/v2x/mux_gen.py
index 4a0b4e3..c16ea80 100755
--- a/v2x/mux_gen.py
+++ b/v2x/mux_gen.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/vlog_to_model.py b/v2x/vlog_to_model.py
index df13262..f234925 100755
--- a/v2x/vlog_to_model.py
+++ b/v2x/vlog_to_model.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/vlog_to_pbtype.py b/v2x/vlog_to_pbtype.py
index 24df3dc..74fa32a 100755
--- a/v2x/vlog_to_pbtype.py
+++ b/v2x/vlog_to_pbtype.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/xmlinc/xmlinc.py b/v2x/xmlinc/xmlinc.py
index b6095a6..b519953 100644
--- a/v2x/xmlinc/xmlinc.py
+++ b/v2x/xmlinc/xmlinc.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/yosys/json.py b/v2x/yosys/json.py
index ba4363d..b17ea1c 100755
--- a/v2x/yosys/json.py
+++ b/v2x/yosys/json.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/yosys/run.py b/v2x/yosys/run.py
index c5ec023..2852133 100755
--- a/v2x/yosys/run.py
+++ b/v2x/yosys/run.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style
diff --git a/v2x/yosys/utils.py b/v2x/yosys/utils.py
index 2d58c59..1afd475 100644
--- a/v2x/yosys/utils.py
+++ b/v2x/yosys/utils.py
@@ -1,5 +1,6 @@
 #!/usr/bin/env python3
-
+# -*- coding: utf-8 -*-
+#
 # Copyright (C) 2020  The SymbiFlow Authors.
 #
 # Use of this source code is governed by a ISC-style