From 7b9bed015034b9c2eeafe740d728153f7448ab5c Mon Sep 17 00:00:00 2001 From: Alex Dowad Date: Mon, 7 Sep 2020 08:42:16 +0200 Subject: [PATCH] Add identify filter for ISO-8859-16 (Latin-10) encoding Interestingly, it looks like the original author intended to add an identify filter for this encoding, but never did so. The needed struct is there, but was never added to the list of identify filters in mbfl_ident.c. --- ext/mbstring/libmbfl/mbfl/mbfl_ident.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/mbstring/libmbfl/mbfl/mbfl_ident.c b/ext/mbstring/libmbfl/mbfl/mbfl_ident.c index a92d55daa3..d2d991249f 100644 --- a/ext/mbstring/libmbfl/mbfl/mbfl_ident.c +++ b/ext/mbstring/libmbfl/mbfl/mbfl_ident.c @@ -78,6 +78,7 @@ #include "filters/mbfilter_iso8859_13.h" #include "filters/mbfilter_iso8859_14.h" #include "filters/mbfilter_iso8859_15.h" +#include "filters/mbfilter_iso8859_16.h" #include "filters/mbfilter_base64.h" #include "filters/mbfilter_qprint.h" #include "filters/mbfilter_uuencode.h" @@ -152,6 +153,7 @@ static const struct mbfl_identify_vtbl *mbfl_identify_filter_list[] = { &vtbl_identify_8859_13, &vtbl_identify_8859_14, &vtbl_identify_8859_15, + &vtbl_identify_8859_16, &vtbl_identify_armscii8, &vtbl_identify_cp850, &vtbl_identify_jis_ms, -- 2.40.0