--- alexandria-book-collection-manager-0.7.4/lib/alexandria/export_library.rb.export_html 2020-01-03 16:17:05.053552865 +0900 +++ alexandria-book-collection-manager-0.7.4/lib/alexandria/export_library.rb 2020-01-03 16:24:11.989122168 +0900 @@ -302,7 +302,7 @@ xhtml << <<~EOS EOS @@ -314,7 +314,7 @@ unless book.title.nil? xhtml << <<~EOS -
#{xhtml_escape(book.title)}
+#{xhtml_escape(book.title).force_encoding("UTF-8")}
EOS end @@ -322,7 +322,7 @@ xhtml << ' " @@ -330,13 +330,13 @@ unless book.edition.nil? xhtml << <<~EOS -#{xhtml_escape(book.edition)}
+#{xhtml_escape(book.edition).force_encoding("UTF-8")}
EOS end unless book.publisher.nil? xhtml << <<~EOS -#{xhtml_escape(book.publisher)}
+#{xhtml_escape(book.publisher).force_encoding("UTF-8")}
EOS end