Re: [php6] Unicode support, options?

From: Date: Fri, 21 Feb 2014 12:04:09 +0000
Subject: Re: [php6] Unicode support, options?
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Pierre Joye wrote:
What do you understand by "storage"?
To have string stored as UTF-8 only, no conversion required for 99% of our use.
I think that the first thing that needs to be agreed on is if there will be support for UTF-8 in the core? As has already been said, in many places this currently just works and so blocking that may be more of a problem now? The question surly is "What is the 1% that needs some extra work?" I light library would be most appropriate for filling the gaps currently created by use of UTF-8 strings in the core? It is not until one starts adding the mbstring level of string processing that a more powerful library is required. Something that simply ensures UTF-8 strings are valid and can carry out comparisons as required? The black hole is still 'case sensitivity' and it is perhaps laying down a 'light' set of rules for this which would allow a path forward? As I have indicated, I'd prefer simply dropping case insensitivity, but a compromise might be to retain it where a string length does not change, and a clean reverse transform exists? So a library that provides that comparison as part of the core package? I think that moving forward, ICU support is essential, but it is difficult while the 'wrong' defaults are applied and I am seeing private builds being used in other projects to get around that hurdle. Hence my question as to if people are taking that approach. -- 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 (34 messages)

« previous php.internals (#72732) next »