diff --git a/src/android/AssetFilesystem.java b/src/android/AssetFilesystem.java index 6d766a4a..f3e63239 100644 --- a/src/android/AssetFilesystem.java +++ b/src/android/AssetFilesystem.java @@ -32,6 +32,7 @@ Licensed to the Apache Software Foundation (ASF) under one import java.io.FileNotFoundException; import java.io.IOException; import java.io.ObjectInputStream; +import java.net.URLDecoder; import java.util.HashMap; import java.util.Map; @@ -91,7 +92,7 @@ private String[] listAssets(String assetPath) throws IOException { if (listCacheFromFile) { ret = new String[0]; } else { - ret = assetManager.list(assetPath); + ret = assetManager.list(URLDecoder.decode(assetPath, "utf-8")); listCache.put(assetPath, ret); } }