diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-04-22 16:16:03 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-04-22 16:16:03 +0100 |
commit | 5f12e6e081d8a881ac712927d1a0e6b7ff7d4cca (patch) | |
tree | f56d4ee5d4342de90408b463d7866600ec1d7d38 /test | |
parent | 7467a410ef74ac121cb4aa75948c580f6ad30d6d (diff) | |
parent | 6d7782659aff46544bbb9177bf09753fdb454fac (diff) | |
download | dbus-5f12e6e081d8a881ac712927d1a0e6b7ff7d4cca.tar.gz |
Merge branch 'dbus-1.6'
Conflicts:
NEWS
Diffstat (limited to 'test')
-rw-r--r-- | test/syntax.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/syntax.c b/test/syntax.c index 88db9638..e26b3643 100644 --- a/test/syntax.c +++ b/test/syntax.c @@ -178,12 +178,14 @@ const char * const invalid_single_signatures[] = { const char * const valid_strings[] = { "", - "\xc2\xa9", + "\xc2\xa9", /* UTF-8 (c) symbol */ + "\xef\xbf\xbe", /* U+FFFE is reserved but Corrigendum 9 says it's OK */ NULL }; const char * const invalid_strings[] = { - "\xa9", + "\xa9", /* Latin-1 (c) symbol */ + "\xed\xa0\x80", /* UTF-16 surrogates are not valid in UTF-8 */ NULL }; |