dankogai / p5-encode

Encode - character encodings (for Perl 5.8 or better)
https://metacpan.org/release/Encode
37 stars 51 forks source link

GSM0338: Enable PerlIO and fix code to not require line buffering #151

Closed pali closed 4 years ago

pali commented 4 years ago

Do not decode or throw error when incomplete sequence is on decode input and STOP_AT_PARTIAL flag was set. This fixes decoding of escaped (multibyte) GSM characters when they are present at buffer boundary without need for requiring line buffering.

pali commented 4 years ago

@dankogai: Could you please look at this patch?

dankogai commented 4 years ago

Sorry I must have overlooked.