Files
koreader/frontend
Hans-Werner Hilse a82bafc63c fix handling of invalid UTF8 sequences
external data (and in bad cases our own) can contain invalid byte
sequences in UTF8 strings. A prominent example are file names.
There was a 1-off bug in calculating the allowed length for multibyte
chars, and the iterator was a bit too greedy when stumbling upon
invalid sequences, returning a single "invalid" char for a sequence
up to the point where it became invalid in calculation. Now, we present
one invalid char for the first byte of that sequence and then check
for a valid char starting with the next byte.
2014-11-28 14:52:04 +00:00
..
2014-11-28 14:52:04 +00:00
2014-11-12 15:21:20 +01:00
2014-03-13 21:52:43 +08:00
2014-11-02 21:19:04 +01:00
2014-11-16 17:27:37 +01:00
2014-11-19 21:46:45 +01:00
2014-03-13 21:52:43 +08:00