Re: Remove characters from string
Re: Remove characters from string
- Subject: Re: Remove characters from string
- From: Kyle Sluder <email@hidden>
- Date: Fri, 18 Mar 2011 08:40:23 -0700
On Fri, Mar 18, 2011 at 8:28 AM, John Joyce
<email@hidden> wrote:
> You might also consider using HTML entities for those, as you never know what the browser/user-agent has set for encoding...
You do if you generate correct HTML and your web server emits the
correct Content-type header.
Charles, since it sounds like you're in control of the entire
pipeline, the correct solution is to store the UTF-8 data in the MySQL
database, and fix your web frontend to correctly output UTF-8 with the
proper Content-type header.
--Kyle Sluder
_______________________________________________
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