https://bugs.kde.org/show_bug.cgi?id=378904

--- Comment #7 from Zeno Endemann <zeno.endem...@googlemail.com> ---
Right, probing should probably be limited to maybe the first 30 entries or so.

But as it is pretty clear that this auto detection won't always work I'd really
like to have a manual override as well. On the other hand I can definitely
understand not wanting to make the UI more complex for this corner case that
only applies to  the zip format, and there only to files created by legacy
software (does anyone know which programs produce these zip files actually?),
so the best compromise I can come up with is a command line flag (think
"--libzip-plugin-force-char-encoding=SHIFT-JIS").

One more thing, in the zip spec there is a file global flag that, if set,
requires the zip file to be utf8. If that flag is set and we encounter a
non-valid utf8 string that probably should be treated as an error.
Unfortunately I haven't seen any way to get the value of the flag via the
libzip API.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to