aboutsummaryrefslogtreecommitdiffstats
path: root/yamlish.py
diff options
context:
space:
mode:
Diffstat (limited to 'yamlish.py')
-rw-r--r--yamlish.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yamlish.py b/yamlish.py
index 2d2bd7f..bb616bc 100644
--- a/yamlish.py
+++ b/yamlish.py
@@ -246,7 +246,7 @@ def dumps(source):
"""
Return YAMLish string from given source.
"""
- return yaml.dump(source, encoding="utf-8",
+ return yaml.dump(source, encoding=None,
explicit_start=True, explicit_end=True,
default_flow_style=False, default_style=False,
canonical=False, Dumper=_YamlishDumper)