Closed cavanierc closed 6 years ago
The Python part counts in utf8 and the JS part counts in unicode, so we have a count mismatch with multi-byte characters ( é © ). That's why we decode them before counting so that we count the same things of both sides.
@cavanierc, thanks. I've fixed it. See develop branch. Now it must be ok.
develop
Yes, it's good for me.
The Python part counts in utf8 and the JS part counts in unicode, so we have a count mismatch with multi-byte characters ( é © ). That's why we decode them before counting so that we count the same things of both sides.