View Single Post
Old 01-28-2013, 05:43 AM   #1
Junior Member
oviksna began at the beginning.
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: PocketBook Pro 912
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?

oviksna is offline   Reply With Quote