Re: Getting a bullet into a NSString
Re: Getting a bullet into a NSString
- Subject: Re: Getting a bullet into a NSString
- From: Daniel Jalkut <email@hidden>
- Date: Wed, 15 Mar 2006 09:48:30 -0500
On Mar 14, 2006, at 2:16 PM, mmalcolm crawford wrote:
On Mar 14, 2006, at 10:54 AM, John Stiles wrote:
But stringWithUTF8String should be fine, assuming your source file
is actually UTF-8 encoded.
In practice it does work for me (and for the OP until he shuffled
his files around, probably borking Xcode's "File Encoding" info).
Please read Ali's comments.
"... it's likely to lead to problems that occur only sometimes, and/
or only for some users, and/or only for some configurations."
** Don't do it. **
There are supported ways to do this that work reliably.
To John's credit, in another of those cited messages from Ali Ozer,
he says:
"Correct. I think in the world of Xcode you'd be fine, since Xcode
now has per-file-encodings and such; but if you ever used another
editor, things might become questionable."
Which to me makes the whole bit of advice sound a lot more like
"you've been warned," than "don't do it." Still, it sounds like it
would be hard to track down the subtle bug this would cause when
we're one day required to change our projects over to Ycode to
support Apple's switch back to the 6502.
Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden