diff --git a/lib/libebook/ebook_epub.cpp b/lib/libebook/ebook_epub.cpp
index 83a7773..28c384d 100644
--- a/lib/libebook/ebook_epub.cpp
+++ b/lib/libebook/ebook_epub.cpp
@@ -166,7 +166,7 @@ QString EBook_EPUB::currentEncoding() const
 
 bool EBook_EPUB::setCurrentEncoding(const char *)
 {
-	abort();
+	return false;
 }
 
 bool EBook_EPUB::isSupportedUrl(const QUrl &url)
