bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing encodings in Unicode.m


From: Richard Frith-Macdonald
Subject: Re: Missing encodings in Unicode.m
Date: Fri, 8 Mar 2002 06:57:18 +0000

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]