mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
rom list decode utf8 to display cjk
This commit is contained in:
parent
84e21b9f38
commit
9039646303
@ -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:
|
||||
|
||||
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user