From 0c97243219978e449943c6b4dbc2bb28f34111ca Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 22 Apr 2013 15:30:33 +0100 Subject: [PATCH] Specification: explicitly allow the Unicode noncharacters This follows Unicode Corrigendum #9. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63072 Signed-off-by: Simon McVittie --- doc/dbus-specification.xml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 8316764..f18327a 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -454,8 +454,15 @@ are basic types with a variable length. The value of any string-like type is conceptually 0 or more Unicode codepoints encoded in UTF-8, none of which may be U+0000. The UTF-8 text must be validated - strictly: in particular, it must not contain overlong sequences, - noncharacters such as U+FFFE, or codepoints above U+10FFFF. + strictly: in particular, it must not contain overlong sequences + or codepoints above U+10FFFF. + + + + Since D-Bus Specification version 0.21, in accordance with Unicode + Corrigendum #9, the "noncharacters" U+FDD0..U+FDEF, U+nFFFE and + U+nFFFF are allowed in UTF-8 strings (but note that older versions of + D-Bus rejected these noncharacters). -- 2.7.4