-
Committer:
Francois Gouget
-
Date:
2011-05-23 21:31:54 UTC
-
Revision ID:
hg-v1:6f236a9ea4c1cc92b4d8e93a1f6a04c9b9fc854d
utf8codepoint() must advance the pointer even when encountering an invalid character.
Otherwise utf8len() gets into an infinite loop if the string is not valid UTF-8.