Fix utf8len_of_string for ANSI build.
Use Laurent's singe-pass technique (precompute UTF-8
lengths for all characters in relevant codepage). Cache
This is a bugfix for bug#847155 (Utf8len_of_string is
wrong for 8-bit).
Changes are all in unicoder module. (I forgot to have
MergeDoc pass in the relevant codepage, but that is a
trivial thing to do, and also, doesn't yet affect us,
as it is always default still).
Log in to post a comment.