allow utf8 in page names
This commit is contained in:
parent
4b55ea0009
commit
e3508e365f
2 changed files with 11 additions and 7 deletions
|
@ -183,7 +183,7 @@ class Wiki(HookMixin):
|
|||
return cached
|
||||
|
||||
# commit = gittle.utils.git.commit_info(self.repo[sha])
|
||||
filename = cname_to_filename(name).encode('latin-1')
|
||||
filename = cname_to_filename(name).encode('utf8')
|
||||
sha = sha.encode('latin-1')
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue