From 58e84f8fdf8e663b5164783c9bae0c7677567ba0 Mon Sep 17 00:00:00 2001 From: cos Date: Tue, 15 Jun 2021 07:36:30 +0200 Subject: FIXME: Add comment about char::escape_default() --- src/attributes/mod.rs | 3 +++ 1 file changed, 3 insertions(+) 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) } -- cgit v1.2.3