* src/vm/utf8.c (utf8_safe_number_of_u2s): Skip only bytes beginning
authoredwin <none@none>
Tue, 24 Oct 2006 17:51:42 +0000 (17:51 +0000)
committeredwin <none@none>
Tue, 24 Oct 2006 17:51:42 +0000 (17:51 +0000)
commit456f375be86f70acbb31531afc920730f0dfc235
tree5e4c969f3d94c0c451579e1814edc3ea0ffdb4c2
parent88aecf5157d60c4a45b649d607e1c1e900038bd1
* src/vm/utf8.c (utf8_safe_number_of_u2s): Skip only bytes beginning
with high bits 10 in invalid sequences.
(utf8_safe_convert_to_u2s): Likewise.
src/vm/utf8.c