On Wed, Jun 22, 2011 at 4:08 PM, Reindl Harald <h.rei...@thelounge.net>wrote:
> > > Am 22.06.2011 16:06, schrieb Rasmus Lerdorf: > > 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 > > after 10 years i want solutions where it is not the road to hell using any > string function on user-input and since PHP6 seems to be quite dead > it feels there will never be a trustable solution > > you made my day. boy :) Tyrael