On 06/22/2011 07:01 AM, Reindl Harald wrote: > > > Am 22.06.2011 15:57, schrieb Rasmus Lerdorf: > >> There is obviously no way to tell if "hello" is UTF-8 or ISO-8859-1. It >> is technically impossible since the two are identical in that range. > > yes and so this will not work > > and as long PHP has on million places troubles with UTF8 it would > be hardly needed find real soultions as long as functions which > are not working with UTF8 input are not throwing a fatal error > >> And please keep things polite. It is very rare that I warn people about >> that here, and I will only do it once. > > this is my tone if somebody believes he is genius and can solve > problems which are since years existing with a sinlge line
Then please stop posting to this list. There is no excuse for this tone. Especially since you basically implied that you wanted a str_is_ut8() function that can detect whether "hello" is UTF8 or ISO-8859-1. That's a completely nonsensical request. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php