python: Set file encoding to utf-8.

This commit is contained in:
Richard W.M. Jones
2012-07-23 20:16:54 +01:00
parent bc917a0efc
commit a6366f5dae

View File

@@ -567,6 +567,11 @@ initlibguestfsmod (void)
(* Generate Python module. *)
and generate_python_py () =
(* This has to appear very near the top of the file, before the large
* header.
*)
pr "# coding: utf-8\n";
generate_header HashStyle LGPLv2plus;
pr "\