On Thu, Nov 27, 2014 at 12:22 AM, Stanislav Malyshev
<smalys...@gmail.com> wrote:
> 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.
>
Yeah, that's some of what this class and/or set of functions would
expose.  Numeric codepoint to utf8 sequence, codepoint name (e.g.
"LATIN CAPITAL LETTER P") to utf8 sequence, numeric codepoint to
codepoint name, utf8 sequence to numeric codepoint, etc...

At this point I haven't heard any major directions so I'm going to
start work on implementing it so that we have a more firm base to
discuss and we can continue once I have that up for review.

-Sara

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to