From 45b15890cad5791a866e90c4aec3b46486e9529f Mon Sep 17 00:00:00 2001 From: Ferdinand Majerech Date: Mon, 28 Jul 2014 23:19:59 +0200 Subject: [PATCH] It should be enough to use \x instead of \u for \u0085 --- source/dyaml/escapes.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dyaml/escapes.d b/source/dyaml/escapes.d index 35bc2af..d4b8c1a 100644 --- a/source/dyaml/escapes.d +++ b/source/dyaml/escapes.d @@ -45,7 +45,7 @@ dchar fromEscape(dchar escape) @safe pure nothrow @nogc case ' ': return '\x20'; case '\"': return '\"'; case '\\': return '\\'; - case 'N': return '\u0085'; + case 'N': return '\x85'; //'\u0085'; case '_': return '\xA0'; case 'L': return '\u2028'; case 'P': return '\u2029';