]> granicus.if.org Git - php/commit
Add identify filter for UTF-16, UTF-16LE, UTF-16BE
authorAlex Dowad <alexinbeijing@gmail.com>
Sun, 6 Sep 2020 08:32:58 +0000 (10:32 +0200)
committerAlex Dowad <alexinbeijing@gmail.com>
Tue, 13 Oct 2020 18:26:13 +0000 (20:26 +0200)
commit97beecc2517252334fd13c3babeebb1bb4fc48e8
treea32d28abf161e4e81cc9d324a2f9797789036a6b
parent6af54d864d9eb0590766810489b4bc16db0d1288
Add identify filter for UTF-16, UTF-16LE, UTF-16BE

There was one faulty test in the suite which only passed before because UTF-16 had no
identify filter. After this was fixed, it exposed the problem with the test.
ext/mbstring/libmbfl/filters/mbfilter_utf16.c
ext/mbstring/libmbfl/filters/mbfilter_utf16.h
ext/mbstring/libmbfl/mbfl/mbfilter.c
ext/mbstring/libmbfl/mbfl/mbfl_ident.c
ext/mbstring/tests/mb_convert_encoding_failed_detection.phpt