Re: NSTextArea - how to change the text programmatically?
Re: NSTextArea - how to change the text programmatically?
- Subject: Re: NSTextArea - how to change the text programmatically?
- From: Jens Alfke <email@hidden>
- Date: Sun, 26 Feb 2012 18:59:13 -0800
On Feb 26, 2012, at 6:20 PM, John Joyce wrote:
>> <given some start address in an unsigned char [] buffer = 0xnnnn>
> Doesn't necessarily work quite that simply with Unicode and NSString and its family.
> From a file that is ASCII data you could create a C array like that ...
Huh? William didn’t say anything about where the data came from. As long as it’s already in a C byte array (or an NSData) it can be displayed as a hex dump pretty easily.
> Are you sure it is ASCII ...?
> Internally to NSString and friends it likely is not. It's best to forget much of what you think you know in assuming things are ASCII.
Again, this has nothing to do with NSString. I think you’re off base here.
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden