Use uppercase 'U' in unicode escape sequences.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19709 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2004-07-10 19:38:41 +00:00
parent 208e2a0082
commit 389df425ed
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2004-07-10 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/cvtenc.m: Use uppercase 'U' rather than 'u' in unicode
escape sequences.
2004-07-09 Adam Fedor <fedor@gnu.org> 2004-07-09 Adam Fedor <fedor@gnu.org>
* Source/NSFileManager.m ([GSAttrDictionary * Source/NSFileManager.m ([GSAttrDictionary

View file

@ -232,7 +232,7 @@ main(int argc, char** argv, char **env)
} }
else else
{ {
sprintf(&c[o], "\\u%04x", u[i]); sprintf(&c[o], "\\U%04x", u[i]);
o += 6; o += 6;
} }
} }
@ -282,9 +282,9 @@ main(int argc, char** argv, char **env)
@"You can supply a '-Encoding name' option to specify the C string\n" @"You can supply a '-Encoding name' option to specify the C string\n"
@"encoding to be used, if you don't want to use the default.\n" @"encoding to be used, if you don't want to use the default.\n"
@"You can supply a '-EscapeIn YES' option to specify that input\n" @"You can supply a '-EscapeIn YES' option to specify that input\n"
@"should be parsed for \\u escape sequences (as in property lists).\n" @"should be parsed for \\U escape sequences (as in property lists).\n"
@"You can supply a '-EscapeOut YES' option to specify that output\n" @"You can supply a '-EscapeOut YES' option to specify that output\n"
@"should be ascii with \\u escape sequences (for property lists).\n"); @"should be ascii with \\U escape sequences (for property lists).\n");
} }
[pool release]; [pool release];
return 0; return 0;