On Thursday, March 7, 2002, at 10:18 PM, Alexander Malmberg wrote:

> Hi,
>
> iconv_stringforencoding() in Unicode.m isn't handling all string
> encodings found in NSString.h

Thanks, I've added your patch.

> Also, should [NSString -initWithData: encoding:] really return an empty
> string on failure? This makes error recovery tricky (eg. when decoding
> messages in Pantomime, we'd like to detect this and tell the user). To
> me it makes more sense to return nil.

Yes ... that's a bug ... I've tried to fix it to return nil on a 
conversion
failure.


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to