Fies to bugs in low-level encoding/decoding changes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13138 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-03-18 08:31:39 +00:00
parent bfb4315450
commit d1f2f1254b
4 changed files with 28 additions and 18 deletions

View file

@ -1215,8 +1215,7 @@ handle_printf_atsign (FILE *stream,
unsigned l = 0;
b = (unsigned char*)[data bytes];
if (GSToUnicode(&u, &l, b, len, NSUTF8StringEncoding, GSObjCZone(self),
0) == NO)
if (GSToUnicode(&u, &l, b, len, encoding, GSObjCZone(self), 0) == NO)
{
DESTROY(self);
}