Re: PHP and case-sensitivity inconsistency in PHP 6

From: Date: Mon, 27 Jan 2014 09:25:09 +0000
Subject: Re: PHP and case-sensitivity inconsistency in PHP 6
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Chris Wright wrote:
Why's that silly? The uppercase form of ß is SS. PHP isn't case-insensitive
at the moment, merely case-insensitive for ASCII only. This alters the issue somewhat - it opens up the unicode can of worms and it's almost completely unresolvable without changing the rules for identifiers fundamentally.
Certainly some people will be unaware of a number of ramifications of sorting out one problem ... using Unicode generally ... and things like 'case sensitivity'. Case conversion of UTF8 strings may also change the number of bytes used in addition to the secondary problem of changing the number of 'characters' but that is a more general problem 'upgrading' to Unicode multybyte characters which prevent the general use of the simple byte comparison functions. -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

Thread (15 messages)

« previous php.internals (#71631) next »