Re: [PHP] Re: languages and PHP
- From: mike503@xxxxxxxxx (mike)
- Date: Thu, 27 Sep 2007 11:52:02 -0700
On 9/27/07, Edward Vermillion <evermillion@xxxxxxxxxxxx> wrote:
But what happens if you get data that's *not* UTF-8? Just because
your html/form is set to UTF-8 doesn't mean that all your incoming
data will be UTF-8.
just my experience, but as long as it has the meta tag w/ utf-8 in it,
the browser sends (and receives) utf-8. i can store the strings in
mysql without modification or character set conversion, it works like
a charm.
the only thing that might need help then is doing string modifications
like urlencoding, or replacement on the utf-8 characters... i haven't
had to do that yet, but otherwise the end-to-end utf-8 solution has
worked like a charm for me.
but yes, it does require browsers+utf8, running it out of that context
may or may not work depending on what you're trying to do with the
data..
.
- References:
- languages and PHP
- From: Angelo Zanetti
- Re: [PHP] languages and PHP
- From: David Christopher Zentgraf
- Re: [PHP] languages and PHP
- From: Per Jessen
- Re: languages and PHP
- From: Colin Guthrie
- Re: [PHP] Re: languages and PHP
- From: Edward Vermillion
- languages and PHP
- Prev by Date: Re: [PHP] Re: languages and PHP
- Next by Date: Re: [PHP] Re: languages and PHP
- Previous by thread: Re: [PHP] Re: languages and PHP
- Next by thread: Re: [PHP] Re: languages and PHP
- Index(es):