From: Simon McVittie Date: Mon, 22 Apr 2013 14:30:33 +0000 (+0100) Subject: Specification: explicitly allow the Unicode noncharacters X-Git-Tag: dbus-1.7.2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c97243219978e449943c6b4dbc2bb28f34111ca;p=thirdparty%2Fdbus.git 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 --- diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 8316764bf..f18327ac3 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).