Product: all Kobo readers running fw
Firmware: 3.11.0
Plugins: n/a
File types: epub (not tested with kepub; but very likely also affected)
Sideloaded or from Kobobooks: sideloaded
On external SD: n/a
Steps to reproduce:
- load a dutch language book, or
- fake this by setting the overall language (in content.opf) to Dutch ("nl", "nl-NL", or "nl-BE")
Current result: the build-in or supplied hyphenation file (hyph_nl.dic) does not work.
Reason: The file format is not correct.
- The file (hyph_nl.dic) is saved as ANSI but this should be UTF8 w/o BOM;
- The first line of the file states ISO8859-1 but should be UTF8.
Workaround: manually patching the firmware to replace the hyphenation file with the correct one.
The correct files are attached.
I attached two hyphenation dictionaries:- Kobo hyphenation NL default
- Kobo hyphenation NL Adobe
'Default' is a converted hyph_nl.dic file to UT8 w/o BOM and first line to UTF8.
'Adobe' is as default, but with the addition of LeftHyphenMin and RightHyphenMin. The user is able to modify the behaviour of hyphenation to her or his personal preferences. A lower value means a more aggressive hyphenation. Adobe default is 5.
Code:
UTF-8
LEFTHYPHENMIN 5
RIGHTHYPHENMIN 5