View Single Post
Old 04-27-2013, 09:44 PM   #543
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,506
Karma: 5433350
Join Date: Nov 2009
Device: many
Hi,
Even in command line mode, kindleunpack makes calls to get the command line using Windows Wide calls to get a full unicode version of all arguments, which it then converts to utf-8 internally. So I am surprised you are having trouble. What shell and what encoding are you using to invoke the command line? Are you by any chance using a bat file? If so you will need to use cp65001 on the same line you use to invoke kindleunpack.

Thanks,

KevinH

Quote:
Originally Posted by dimasic View Post
Thanks for great handy tool.

But there's a problem. Windows 7 x32, KindleUnpack 0.61, 0.62 From GUI shell the tool works perfectly, but when it is started from command line AND filename contains cyrillic symbols, it says that "'utf8' codec can't decode byte 0xcb in position 0: invalid continuation byte". Renamed with latin characters file will be unpacked pretty well, so the problem only with filename handling. Is it possible to do something with it?
KevinH is offline   Reply With Quote