Re: PHP 7.0's Unicode version incoherence (mbstring, intl, pcre)
| From: | Tom Worster | Date: | Mon, 05 Oct 2015 17:06:20 +0000 |
| Subject: | Re: PHP 7.0's Unicode version incoherence (mbstring, intl, pcre) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88686@lists.php.net to get a copy of this message | ||
On 10/5/15 5:20 AM, Martin Keckeis wrote:
Hello, 2015-10-01 21:19 GMT+02:00 Tom Worster <fsb@thefsb.org>:The new emoji are neat and people can and should use them. They just can't expect intl or preg to recognize them until some release after 7.0.0. Using Unicode 8 uniformly involves moving to PCRE2, which doesn't seem easy. It's a big API change for little functional gain. I'd like to see PCRE2 implement a bit more of TR18 but I doubt it's a priority. ICU regex as the next big thing in intl is an interesting idea. I've no idea how hard it is. http://unicode.org/reports/tr18/ So Unicode 8 depends on what PHP does about regex going forwards. I asked about this on Sep 24 but got no response. http://www.serverphorums.com/read.php?7,1303221 TomDo people here agree that PHP should have a *policy* of using a consistent Unicode version? This appears to be easy to accomplish for the moment. Moving to Unicode 8 will be harder.I agree with the policy -> good idea. But I think there will be a lot of problems, when staying on Unicode 7. Since Unicode 8 has the new emoji (colors) and that is used more and more.