Hi,
In TableReader, IconvEncoder is used by default.
When iconv("BIG5", "UTF-8", $string) fails, the program will interrupt immediately and return an error.
However, by using mb_convert_encoding(), the program can still run normally even though some BIG5 strings fail to be converted into UTF-8.
To prevent errors when converting, I created the MbConvertEncodingEncoder as another encoding option, to use mb_convert_encoding() to convert strings.
Hi, In
TableReader
,IconvEncoder
is used by default. Wheniconv("BIG5", "UTF-8", $string)
fails, the program will interrupt immediately and return an error. However, by usingmb_convert_encoding()
, the program can still run normally even though some BIG5 strings fail to be converted into UTF-8.To prevent errors when converting, I created the
MbConvertEncodingEncoder
as another encoding option, to usemb_convert_encoding()
to convert strings.