Skip to content

Commit 7b9bed0

Browse files
committed
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.
1 parent 9a669fa commit 7b9bed0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/mbstring/libmbfl/mbfl/mbfl_ident.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
#include "filters/mbfilter_iso8859_13.h"
7979
#include "filters/mbfilter_iso8859_14.h"
8080
#include "filters/mbfilter_iso8859_15.h"
81+
#include "filters/mbfilter_iso8859_16.h"
8182
#include "filters/mbfilter_base64.h"
8283
#include "filters/mbfilter_qprint.h"
8384
#include "filters/mbfilter_uuencode.h"
@@ -152,6 +153,7 @@ static const struct mbfl_identify_vtbl *mbfl_identify_filter_list[] = {
152153
&vtbl_identify_8859_13,
153154
&vtbl_identify_8859_14,
154155
&vtbl_identify_8859_15,
156+
&vtbl_identify_8859_16,
155157
&vtbl_identify_armscii8,
156158
&vtbl_identify_cp850,
157159
&vtbl_identify_jis_ms,

0 commit comments

Comments
 (0)