Plugin to fix fb2 files
I wanted to use Calibre to manage books un FB2 format. Problem is that these books specify singe character encoding (windows-1251) in xml header, but uses lots of numeric (for example Ł) character encoding. Those characters are not displayed properly by my reader, so I wanted to convert fb2 books to UTF-8 encoding. To automate this process I created simple plugin for FB2 format, that checks if FB2 file needs conversion to UTF-8 and performs it when needed.
Problem. When importing FB2 file everything works OK. When importing zipped FB2 files, this plugin is not called, so conversion is not performed.
Question. How to write plugin for zipped FB2 files? Maybe this is bug in Calibre?