mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
bfb4315450
commit
d1f2f1254b
4 changed files with 28 additions and 18 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue