Another unicode fix

This commit is contained in:
Kovid Goyal 2008-05-08 06:20:11 -07:00
parent 69639a7034
commit 9233b2c13b
2 changed files with 2 additions and 1 deletions

View File

@ -211,7 +211,7 @@ class DefaultProfile(object):
src = build_sub_index(category, articles[category])
open(cfile, 'wb').write(src.encode(encoding))
src = '''\
src = u'''\
<html>
<body>
<h1>%(title)s</h1>

View File

@ -602,6 +602,7 @@ class LitFile(object):
size, piece, remaining = encint(piece, remaining)
entry = DirectoryEntry(name, section, offset, size)
if name == '::DataSpace/NameList':
self.read_section_names(entry)
elif name == '/manifest':