summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/attributes/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/attributes/mod.rs b/src/attributes/mod.rs
index 94ade1b..91bdd53 100644
--- a/src/attributes/mod.rs
+++ b/src/attributes/mod.rs
@@ -110,6 +110,9 @@ impl<'a> AttributeText<'a> {
// interpret backslashes; see EscStr above.
'\\' => f(c),
_ => {
+ // FIXME Using char::escape_default() causes: "All other characters are given
+ // hexadecimal Unicode escapes; see escape_unicode." which is not the
+ // encoding expected by The DOT Language.
for c in c.escape_default() {
f(c)
}