php-src/ext/unicode
Sara Golemon 30a2bd1d11 Another (and hopefully last) major streams commit.
This moves unicode conversion to the filter layer
(rather than at the lower streams layer)
unicode_filter.c has been moved from ext/unicode to main/streams
as it's an integral part of the streams unicode conversion process.

There are now three ways to set encoding on a stream:

(1) By context
$ctx = stream_context_create(NULL,array('encoding'=>'latin1'));
$fp = fopen('somefile', 'r+t', false, $ctx);

(2) By stream_encoding()
$fp = fopen('somefile', 'r+');
stream_encoding($fp, 'latin1');

(3) By filter
$fp = fopen('somefile', 'r+');
stream_filter_append($fp, 'unicode.from.latin1', STREAM_FILTER_READ);
stream_filter_append($fp, 'unicode.to.latin1', STREAM_FILTER_WRITE);

Note: Methods 1 and 2 are convenience wrappers around method 3.
2006-03-29 01:20:43 +00:00
..
tests - Add test 2006-02-18 17:13:39 +00:00
collator.c Fix collator instantiation. 2006-03-28 04:33:29 +00:00
config.m4 Another (and hopefully last) major streams commit. 2006-03-29 01:20:43 +00:00
config.w32 Another (and hopefully last) major streams commit. 2006-03-29 01:20:43 +00:00
CREDITS Unicode support. 2005-08-11 23:36:07 +00:00
EXPERIMENTAL Unicode support. 2005-08-11 23:36:07 +00:00
locale.c - Moved strtotitle to ext/standard and implemented the fallback case to 2006-03-22 10:20:20 +00:00
package.xml Unicode support. 2005-08-11 23:36:07 +00:00
php_unicode.h Another (and hopefully last) major streams commit. 2006-03-29 01:20:43 +00:00
unicode_iterators.c Use intern->type for break iterator. 2006-03-24 21:06:36 +00:00
unicode.c Another (and hopefully last) major streams commit. 2006-03-29 01:20:43 +00:00
unicode.dsp Unicode support. 2005-08-11 23:36:07 +00:00