View Single Post
Old 07-07-2010, 04:24 AM   #16
karunaji
Evangelist
karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.karunaji ought to be getting tired of karma fortunes by now.
 
karunaji's Avatar
 
Posts: 421
Karma: 1033566
Join Date: Mar 2010
Location: Latvia
Device: Kindle 3 Wifi, Bookeen Opus
Hi Joop,

Thanks for the suggestion. It works but doesn't solve my problem. Starting a new process inherits the default code page (775 in my case). It means that I cannot use the unicode for metadata in command line parameters.

I speculate that calibre batch files stop running because calibre utilities internally sets the code page to unicode. Also it appears that Windows XP does not support unicode natively and it requires some internal add-on that breaks batch file processing.

Besides putting all metadata in the command line is not an elegant solution. Would it be possible to implement a solution that metadata can be read from a file?
karunaji is offline   Reply With Quote