Re: Representation of strings with special chars
Re: Representation of strings with special chars
- Subject: Re: Representation of strings with special chars
- From: Greg Parker <email@hidden>
- Date: Wed, 24 Aug 2011 15:45:32 -0700
On Aug 24, 2011, at 2:14 PM, Alexander Reichstadt wrote:
> It seems a work-around is to append a space to the select-statement, mysql does not care about that and it brings the umlaut-problem to cease in select-statements. Does this only cover some other issue that is going to return, or is this valid?
That's because you are still using [s length] to get the length of [s UTF8String]. Don't do that. If you add more umlauts then it will stop working again.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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