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.
koreader/frontend
poire-z d98ea4e9ee util.splitToChars(): supports text encoded in WTF-8
https://en.wikipedia.org/wiki/UTF-8#WTF-8
WTF-8 is a superset of UTF-8, that includes UTF-16 surrogates
in UTF-8 bytes (forbidden in well-formed UTF-8).
We may get UTF-8 with these from bad producers or converters.

We can get such chars in the text we get from Wikipedia API once
their (fully valid) JSON has been decoded by our lpeg-based JSON
decoder (which is a defect, hard to fix). (Our other pure-Lua json
decoder has no problem and do that correctly).
We might also find these WTF-8 in some dictionaries, so let's
support them.
5 years ago
..
apps InfoMessage: avoid overflowing screen height with long messages 5 years ago
device Set actual model names on PB devices (#4479) 5 years ago
document [fix] MuPDF: set default DPI-based EPUB fontsize (#4372) 6 years ago
ui bump crengine: Harfbuzz light, WTF-8, corrupted ZIPs 5 years ago
cache.lua [fix] Cache: don't overwrite same CacheItem (#3847) 6 years ago
cacheitem.lua cleanup: expand tab to 4 spaces 10 years ago
configurable.lua build: enforce luacheck in travis build 8 years ago
dbg.lua use android log categories 5 years ago
depgraph.lua Gesture manager (initial) (#4240) 6 years ago
device.lua [feat] Add support for BQ/Fnac devices (#4294) 6 years ago
docsettings.lua Fix crash and History with books in read-only directories (#4138) 6 years ago
dump.lua Docs: dump & random 7 years ago
gettext.lua turn missing translations into a warning (#3752) 6 years ago
httpclient.lua build: enforce luacheck in travis build 8 years ago
logger.lua use android log categories 5 years ago
luadata.lua Add LuaData and Dictionary Lookup History (#3161) 7 years ago
luasettings.lua luasettings: backup previous file and auto-recover (#3625) 6 years ago
luxl.lua treate quoted slash as plain text in attribute value 10 years ago
optmath.lua doc: fix document build 8 years ago
pluginloader.lua [Fix] Don't load disabled plugins (#4169) 6 years ago
pluginshare.lua Move PluginShare.backgroundJobs into PluginShare module (#3128) 7 years ago
random.lua Docs: dump & random 7 years ago
readhistory.lua History: show files sizes, as File browser does 5 years ago
up_reg.list adapt widgets to new refresh/repaint API 10 years ago
util.lua util.splitToChars(): supports text encoded in WTF-8 5 years ago
version.lua [fix] Version pattern: add two extra numbers for point release 6 years ago