Re: foreach() for strings
| From: | Reindl Harald | Date: | Wed, 22 Jun 2011 14:08:49 +0000 |
| Subject: | Re: foreach() for strings | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53518@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc