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:
Richard Frith-Macdonald 2004-07-10 19:38:41 +00:00
parent 668efd29c8
commit de8c918e37
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>
* Source/NSFileManager.m ([GSAttrDictionary

View file

@ -232,7 +232,7 @@ main(int argc, char** argv, char **env)
}
else
{
sprintf(&c[o], "\\u%04x", u[i]);
sprintf(&c[o], "\\U%04x", u[i]);
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"
@"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"
@"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"
@"should be ascii with \\u escape sequences (for property lists).\n");
@"should be ascii with \\U escape sequences (for property lists).\n");
}
[pool release];
return 0;