From ddfc5ef95d3e5450c1ed8c5ed27d2ff4777054bb Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Mon, 23 Jul 2007 21:59:32 +0000 Subject: [PATCH] add utf8 encoding to files --- src/browser.py | 2 ++ src/core.py | 2 ++ src/deluge_stats.py | 3 ++- src/dgtk.py | 2 ++ src/dialogs.py | 2 ++ src/files.py | 1 + src/interface.py | 1 + src/ipc_manager.py | 2 ++ src/plugins.py | 1 + src/pref.py | 2 ++ 10 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/browser.py b/src/browser.py index da7437164..89d865c0e 100644 --- a/src/browser.py +++ b/src/browser.py @@ -1,4 +1,6 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- + import webbrowser import sys webbrowser.open(sys.argv[1]) diff --git a/src/core.py b/src/core.py index 6cb34ed0c..162239636 100644 --- a/src/core.py +++ b/src/core.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # core.py # # Copyright (C) 2006 Alon Zakai ('Kripken') diff --git a/src/deluge_stats.py b/src/deluge_stats.py index 5cc3f6f98..29b1bd5b0 100644 --- a/src/deluge_stats.py +++ b/src/deluge_stats.py @@ -1,4 +1,5 @@ -# +#!/usr/bin/env python +# -*- coding: utf-8 -*- # Copyright (C) 2006 Alon Zakai ('Kripken') # # This program is free software; you can redistribute it and/or modify diff --git a/src/dgtk.py b/src/dgtk.py index ffb17124f..64f89c338 100644 --- a/src/dgtk.py +++ b/src/dgtk.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # dgtk.py # # Copyright (C) Zach Tibbitts 2006 diff --git a/src/dialogs.py b/src/dialogs.py index cec540b66..fde87b824 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # dialogs.py # # Copyright (C) Zach Tibbitts 2006 diff --git a/src/files.py b/src/files.py index 16b627ae3..be5237f1c 100644 --- a/src/files.py +++ b/src/files.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- # # files.py # diff --git a/src/interface.py b/src/interface.py index bedbf5851..d0980abe1 100644 --- a/src/interface.py +++ b/src/interface.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- # # interface.py # diff --git a/src/ipc_manager.py b/src/ipc_manager.py index 680ed3df3..615a3716a 100644 --- a/src/ipc_manager.py +++ b/src/ipc_manager.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # ipc_manager.py # # Copyright (C) Zach Tibbitts 2006 diff --git a/src/plugins.py b/src/plugins.py index af9c3ab56..9c8610901 100644 --- a/src/plugins.py +++ b/src/plugins.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# -*- coding: utf-8 -*- # # delugeplugins.py # diff --git a/src/pref.py b/src/pref.py index 9f61ca6a4..2b56dbe76 100644 --- a/src/pref.py +++ b/src/pref.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # pref.py # # Copyright (C) Zach Tibbitts 2006