wordtree 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wordtree/disk/librarian.rb +1 -1
- data/lib/wordtree/version.rb +1 -1
- metadata +1 -1
@@ -14,7 +14,7 @@ module WordTree
|
|
14
14
|
|
15
15
|
def find(book_id)
|
16
16
|
begin
|
17
|
-
retrieved = Preamble.load(library.path_to(book_id))
|
17
|
+
retrieved = Preamble.load(library.path_to(book_id), :external_encoding => "utf-8")
|
18
18
|
Book.create(book_id, retrieved.metadata, retrieved.content)
|
19
19
|
rescue Errno::ENOENT
|
20
20
|
nil
|
data/lib/wordtree/version.rb
CHANGED