On 9/27/07, Edward Vermillion <[EMAIL PROTECTED]> 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..

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to