|
Posted by Erwin Moller on 03/30/07 12:55
Willem Bogaerts wrote:
>> ..., and I catch you, I'm going to punish you by making you peel onions
>> for 6 months in a submarine. I swear I will.
>
> Good luck with the onions!
>
>> And one more thing: IT'S NOT THAT HARD.
>
> I completely disagree. The theory is not hard at all, but the difference
> between strings and texts is one that I have never encountered on the
> web. Encodings simply are not linked with the strings themselves, and
> that makes it almost impossible. And it is really hard to find which
> programs do translate encodings, and which don't. MySQL alone has far
> too many encoding settings that are counter-intuitive at best. Also, the
> complete lack of proper escaping possibilities makes it even more
> difficult, unless you want to escape the characters by turning them into
> HTML entities.
>
> Best regards,
Yes, I completely agree.
After reading through a few pages of UTF-8, and after discovering that the
length of strings in PHP is something completely different than I want to
see, I decided to NOT use UTF-8 (yet).
Maybe when PHP6 is out, and debugged, and I switch my server to PHP6,
well... maybe then.
I'll stick to LATIN1 for now, that is something I understand, and something
I can use my existing functionlib on without a headache.
In case my app becomes so popular people outside Europe want it, I'll dive
into Unicode again. ;-)
Thanks for your time!
Regards,
Erwin Moller
[Back to original message]
|