help-gnustep
[Top][All Lists]
Advanced

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

Re: nsstringencoding


From: David Ayers
Subject: Re: nsstringencoding
Date: Thu, 26 Jun 2003 10:56:53 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507

Hello Andras,

the NSStringEncoding is not an class but a c enum.
+[NSString availableStringEncodings] returns a nil terminated c-array of NSStringEncodings. To get an NSString representation of encodings you can use +[NSString localizedNameOfStringEncoding:]

Good luck!

Cheers,
David

reuss wrote:

NSStringEncoding *kodolas = [NSString availableStringEncodings];
NSLog(@"address@hidden",kodolas);

and I get
Segmentation fault
what is wrong my code?
thanks andras







reply via email to

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