com php-src: added utf32 and ucs4 for available encodings: ext/mbstring/mbstring.c

From: Date: Thu, 19 Feb 2015 05:32:54 +0000
Subject: com php-src: added utf32 and ucs4 for available encodings: ext/mbstring/mbstring.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96525@lists.php.net to get a copy of this message
Commit: b06595675476cbce391390a35d8ae3ac9ad83c4c Author: Masaki Kagaya <masakielastic@gmail.com> Thu, 19 Feb 2015 14:32:54 +0900 Parents: c948e44807ea23faf670d3d917e24937bb690502 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b06595675476cbce391390a35d8ae3ac9ad83c4c Log: added utf32 and ucs4 for available encodings Changed paths: M ext/mbstring/mbstring.c Diff: diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 49b2ed5..b44d475 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -4614,6 +4614,12 @@ static inline long php_mb_ord(const char* str, size_t str_len, const char* enc) || no_enc == mbfl_no_encoding_utf8_kddi_a || no_enc == mbfl_no_encoding_utf8_kddi_b || no_enc == mbfl_no_encoding_utf8_sb + || no_enc == mbfl_no_encoding_ucs4 + || no_enc == mbfl_no_encoding_ucs4be + || no_enc == mbfl_no_encoding_ucs4le + || no_enc == mbfl_no_encoding_utf32 + || no_enc == mbfl_no_encoding_utf32be + || no_enc == mbfl_no_encoding_utf32le ) { supported = true; }

« previous php.cvs (#96525) next »