Output the book in utf-8 encoding
Also fix doctype being removed by tidy in longindex by removing a wrong attribute (xmlns:xlink) in a div element in the index.