[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error in NSString description
From: |
Michael Scheibler |
Subject: |
Error in NSString description |
Date: |
Wed, 11 Apr 2001 13:19:23 +0200 |
I ran into a NSCharacterConversionException when invoking [NSDictionary
description].
I found the error in NSString.m:
- (void) descriptionWithLocale: (NSDictionary*)aLocale
indent: (unsigned)level
to: (id<GNUDescriptionDestination>)output
{
if ([self length] == 0)
{
[output appendString: @"\"\""];
return;
}
if (quotables == nil)
{
setupQuotables();
}
if ([self rangeOfCharacterFromSet: quotables].length > 0)
{
const char *cstring = [self cString]; // <-- shouldn't it be
lossyCString??
const char *from;
int len = 0;
Michael
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Error in NSString description,
Michael Scheibler <=