Re: [RFC] IntlChar class and intl_char_*() functions

From: Date: Thu, 27 Nov 2014 08:22:52 +0000
Subject: Re: [RFC] IntlChar class and intl_char_*() functions
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-79217@lists.php.net to get a copy of this message
Hi! >> While playing around with Andrea's unicode literals syntax proposal, I >> was reminded of just how little of ICU is exposed. I've put up a >> short proposal for adding IntlChar exporting these APIs as static >> methods (with a matching non-oop interface). >> >> https://wiki.php.net/rfc/intl.char Looking into this and also reading the \u{} proposal, I also thought - do we have a programmatic way of doing what \u would do? I.e. if we assume $x holds an Unicode codepoint value (i.e., an integer) do we have a good built-in way to generate the corresponding utf8 sequence? If not, then I think this class may be a good place to put such a function in. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#79217) next »