# HG changeset patch # User Ludovic Chabant # Date 1438395391 25200 # Node ID 8a96ff3f2b018d8304992ded1fe394cc20fa79dd # Parent 60b6c1406fdce21b5443b2027dfeae8de33133df import: Correctly convert unicode characters in site configuration. diff -r 60b6c1406fdc -r 8a96ff3f2b01 piecrust/importing/piecrust.py --- a/piecrust/importing/piecrust.py Fri Jul 31 19:15:36 2015 -0700 +++ b/piecrust/importing/piecrust.py Fri Jul 31 19:16:31 2015 -0700 @@ -119,7 +119,8 @@ config['baker']['force'] = config['baker']['force_patterns'] del config['baker']['force_patterns'] - content = yaml.dump(config, default_flow_style=False) + content = yaml.dump(config, default_flow_style=False, + allow_unicode=True) return content def convertPage(self, content):