View Single Post
Old 04-27-2013, 10:44 PM   #543
KevinH
Wizard
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: 1,077
Karma: 444444
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 online now   Reply With Quote