mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Avoid recursion initialising NSString on systems with iconv problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25149 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a6a122b16f
commit
6f5cfff5a5
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-05-14 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/Additions/Unicode.m:
|
||||||
|
Avoid using NSString while printing warning about iconv problems ...
|
||||||
|
try to avoid possible recursion etc.
|
||||||
|
|
||||||
2007-05-13 Richard Frith-Macdonald <rfm@gnu.org>
|
2007-05-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/NSURLProtocol.m: Replace mystep response parsing code with
|
* Source/NSURLProtocol.m: Replace mystep response parsing code with
|
||||||
|
|
|
@ -108,8 +108,8 @@ internal_unicode_enc(void)
|
||||||
iconv_close(conv);
|
iconv_close(conv);
|
||||||
return unicode_enc;
|
return unicode_enc;
|
||||||
}
|
}
|
||||||
NSLog(@"Could not initialise iconv() for UTF16, using UCS-2");
|
fprintf(stderr, "Could not initialise iconv() for UTF16, using UCS-2\n");
|
||||||
NSLog(@"Using characters outside 16 bits may give incorrect results");
|
fprintf(stderr, "Using characters outside 16 bits may give bad results.\n");
|
||||||
|
|
||||||
unicode_enc = UNICODE_INT;
|
unicode_enc = UNICODE_INT;
|
||||||
conv = iconv_open(unicode_enc, "ASCII");
|
conv = iconv_open(unicode_enc, "ASCII");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue