From dfeb02ee86c02a2bb665b8b8457003d56baa474d Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Fri, 11 Feb 2011 19:09:48 +0000 Subject: [PATCH] =?utf8?q?GVariant:=20titlecase=20=E2=80=98Unicode?= =?utf8?q?=E2=80=99=20in=20text=20format=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- docs/reference/glib/gvariant-text.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/reference/glib/gvariant-text.xml b/docs/reference/glib/gvariant-text.xml index eaad2c5..3565aa2 100644 --- a/docs/reference/glib/gvariant-text.xml +++ b/docs/reference/glib/gvariant-text.xml @@ -18,7 +18,7 @@ The functions that deal with GVariant text format absolutely always deal in utf-8. Conceptually, GVariant - text format is a string of unicode characters -- not bytes. Non-ASCII but otherwise printable unicode + text format is a string of Unicode characters -- not bytes. Non-ASCII but otherwise printable Unicode characters are not treated any differently from normal ASCII characters. @@ -276,10 +276,10 @@ completely equivalent (except for the fact that each one is unable to contain itself unescaped). - Strings are unicode strings with no particular encoding. For example, to specify the character - é, you just write 'é'. You could also give the unicode codepoint of + Strings are Unicode strings with no particular encoding. For example, to specify the character + é, you just write 'é'. You could also give the Unicode codepoint of that character (U+E9) as the escape sequence '\u00e9'. Since the strings are pure - unicode, you should not attempt to encode the utf-8 byte sequence corresponding to the string using escapes; + Unicode, you should not attempt to encode the utf-8 byte sequence corresponding to the string using escapes; it won't work and you'll end up with the individual characters corresponding to each byte. @@ -293,7 +293,7 @@ The usual octal and hexidecimal escapes \0nnn and \xnn are not - supported here. Those escapes are used to encode byte values and GVariant strings are unicode. + supported here. Those escapes are used to encode byte values and GVariant strings are Unicode. Single-character strings are not interpreted as bytes. Bytes must be specified by their numerical value. -- 2.7.4