I think we can provide better Unicode support in range() if we follow a simple rule that the low and high parameters are interpreted as codepoints at the end of the range. It would be nice to be able to do range('\u0200', '\u0500') and get the string of all the chars inbetween.

-Andrei


On Aug 17, 2005, at 8:12 AM, Dmitry Stogov wrote:

dmitry        Wed Aug 17 11:12:03 2005 EDT

  Modified files:
    /php-src/ext/standard    array.c
    /php-src/ext/standard/tests/array    range.phpt
  Log:
  Unicode support for range()


<dmitry-20050817111203.txt>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to