Merge pull request #90 from cuu/master

rom list decode utf8 to display cjk
This commit is contained in:
GNU 2018-08-06 19:08:37 +08:00 committed by GitHub
commit 07e707a983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ class FavListPage(Page):
pieces = bname.split(".")
if len(pieces) > 1:
if pieces[ len(pieces)-1 ].lower() in self._Emulator["EXT"]:
dirmap["file"] = v
dirmap["file"] = v.decode("utf8")
ret.append(dirmap)
# else:

View File

@ -161,7 +161,7 @@ class RomListPage(Page):
pieces = bname.split(".")
if len(pieces) > 1:
if pieces[ len(pieces)-1 ].lower() in self._Emulator["EXT"]:
dirmap["file"] = v
dirmap["file"] = v.decode("utf8")
ret.append(dirmap)
# else:
# print("not file or dir")