Re: Representation of strings with special chars
Re: Representation of strings with special chars
- Subject: Re: Representation of strings with special chars
- From: Jens Alfke <email@hidden>
- Date: Wed, 24 Aug 2011 15:30:15 -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? I found a thread talking about the length with umlauts being not clear to answer in some cases which lead me to try this. It doesn't seem like a feature, but I wouldn't know what to log a bug against.
I think you’re going to need to get some Unicode references and look at the exact UTF-8 byte sequences that are being generated as commands to MySQL. (You should also verify that the connection to MySQL is actually expecting UTF-8 and not some other encoding.) If you can figure out what’s wrong with the data being sent, you’ll have an idea of how to fix it. I think it’s very unlikely there is an actual Foundation bug here, as this is really a pretty ordinary usage of NSString.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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