summaryrefslogtreecommitdiff
path: root/debian/patches/78_setlocale.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/78_setlocale.patch')
-rw-r--r--debian/patches/78_setlocale.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/78_setlocale.patch b/debian/patches/78_setlocale.patch
new file mode 100644
index 0000000..25be965
--- /dev/null
+++ b/debian/patches/78_setlocale.patch
@@ -0,0 +1,16 @@
+We need to set the locale so UTF-8 characters will be printed properly, see
+the discussion in Debian #279000
+
+--- a/jack 2006-12-01 13:51:22.000000000 +0100
++++ b/jack 2007-08-29 12:50:16.000000000 +0200
+@@ -64,6 +64,9 @@
+ ###################### M A I N ###############################################
+ ##############################################################################
+
++import locale
++locale.setlocale(locale.LC_ALL, "")
++
+ # say hello...
+ print "This is", jack_version.prog_name, jack_version.prog_version, jack_version.prog_copyright, jack_version.prog_devemail
+
+