Commit graph

11 commits

Author SHA1 Message Date
fc44bb1415 Generalize handling of dirty EOF 2019-12-23 15:36:38 -05:00
200a310f72 Optionally allow surrogates
Also removed unnecessary docblocks
2019-12-18 14:57:54 -05:00
fb70543c0f Change gb18030 loop to be consistent with Big5 and EUC-KR 2018-09-15 14:02:17 -04:00
4a091610e9 Initial implementation of Big5 encoding
Only the decoder is tested, and even that requires more thorough testing.

Testing of seeking and encoding still to come
2018-08-30 23:27:29 -04:00
a0bf8a9b05 Don't check for dirty EOF on every iteration 2018-08-30 08:55:33 -04:00
e683167905 Style fixes
Because of the large arrays in the GBCommon class and its test suite,
memory limits had to be disabled in php-cs-fixer
2018-08-29 23:47:42 -04:00
4c686aa8a1 Complete battery of tests for gb18030 2018-08-29 17:16:16 -04:00
1b9889914a Fix numerous bugs with gb18030 2018-08-29 15:58:53 -04:00
467c565e8c Implement gb18030 seeking
Also fix some bugs in EOF handling
2018-08-28 15:31:51 -04:00
40d0054bd1 Implement gb18030 and GBK encoders 2018-08-28 11:48:25 -04:00
766643aa37 Common infrstructure for gb18030 and GBK 2018-08-28 08:37:32 -04:00