View Single Post
Old 01-14-2017, 07:34 PM   #54
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,553
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by slowsmile View Post
But unfortunately -- due to pythonissue 27344 -- zip file names on Windows can only use DOS Latin and not utf8.
As KevinH pointed out above, this is simply not true. The bug you're pointing to is a documentation issue only. Python's zipfile module from 2.7 on is perfectly capable of handling utf-8 filenames on Windows -- as is Sigil's internal (un)zip routines. Winzip and PKZip are the programs that are limited to DOS Latin file names on Windows. So unless you're telling us that you're using Winzip or PKZip as part of your plugin instead of Python's zipfile module (and I really hope you're not), the Python documentation issue you're pointing to just isn't relevant here.

Last edited by DiapDealer; 01-14-2017 at 07:46 PM.
DiapDealer is offline   Reply With Quote