From 2614d0140be816c0642981658459e31dca77f5b7 Mon Sep 17 00:00:00 2001 From: Patrick Speiser Date: Sat, 13 Oct 2012 12:18:03 +0200 Subject: [PATCH] Write configuration as UTF-8 ,allows unicode characters in configuration settings --- headphones/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/__init__.py b/headphones/__init__.py index a9f9223e..30fa5902 100644 --- a/headphones/__init__.py +++ b/headphones/__init__.py @@ -584,7 +584,7 @@ def launch_browser(host, port, root): def config_write(): - new_config = ConfigObj() + new_config = ConfigObj(encoding="UTF-8") new_config.filename = CONFIG_FILE new_config['General'] = {}