mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a82bafc63c
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. |
10 years ago | |
---|---|---|
.. | ||
apps | 10 years ago | |
device | 10 years ago | |
document | 10 years ago | |
ui | 10 years ago | |
JSON.lua | 11 years ago | |
MD5.lua | 10 years ago | |
cache.lua | 10 years ago | |
cacheitem.lua | 11 years ago | |
configurable.lua | 10 years ago | |
dbg.lua | 10 years ago | |
device.lua | 10 years ago | |
docsettings.lua | 10 years ago | |
dump.lua | 10 years ago | |
gettext.lua | 10 years ago | |
luxl.lua | 10 years ago | |
optmath.lua | 11 years ago |