helly Fri Jan 19 09:31:52 2007 UTC Modified files: /php-src README.UNICODE-UPGRADES Log: - Nicer version http://cvs.php.net/viewvc.cgi/php-src/README.UNICODE-UPGRADES?r1=1.16&r2=1.17&diff_format=u Index: php-src/README.UNICODE-UPGRADES diff -u php-src/README.UNICODE-UPGRADES:1.16 php-src/README.UNICODE-UPGRADES:1.17 --- php-src/README.UNICODE-UPGRADES:1.16 Fri Jan 19 09:30:18 2007 +++ php-src/README.UNICODE-UPGRADES Fri Jan 19 09:31:52 2007 @@ -541,12 +541,12 @@ Z_OBJCE_P(object)->name); Since [v]spprintf() can only output native strings there are also the new -function [v]uspprintf() and [v]zspprintf() that create unicode strings and +functions [v]uspprintf() and [v]zspprintf() that create unicode strings and return the number of characters printed. That is they return the length rather -than the byte size. The second pair offunction also takes an additional type +than the byte size. The second pair of functions also takes an additional type parameter that allows to create a string of arbitrary type. The following example illustrates the use. Assume it fetches a unicode/native string into -path, path_len, path_type and then creates sub_name, sub_len and sub_type. +path, path_len and path_type inorder to create sub_name, sub_len and sub_type. zstr path, sub_name; int path_len, sub_len;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php