Some book utils used on FBReader book network (https://books.fbreader.org/)