LoC added content is actually UTF8, apparently
authordbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 16 Dec 2010 20:14:13 +0000 (20:14 +0000)
committerdbs <dbs@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Thu, 16 Dec 2010 20:14:13 +0000 (20:14 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/conifer/branches/rel_1_6_1@1107 6d9bc8c9-1ec2-4278-b937-99fde70a366f

tools/ebooks/prep_ebook_records.py

index f1177f2..ff72922 100644 (file)
@@ -440,7 +440,7 @@ def process_loc_data(raw_content):
         content = content[0:lcsh]
 
     # Farewell, starting and ending whitespace
-    content = content.strip().decode('iso8859-1')
+    content = content.strip().decode('utf8')
 
     return content