Android Question Unzipping files holding special characters (Android 7+) maybe solved

rosippc64a

Active Member
Licensed User
Hi All!
I struggled with this question a bit and found a solution - maybe. I use totalcommander (win10) to make zip files with accented chars (öüóőúéáűí) in the zipped file names and I want to unzip this on android 7.1.2. I found, that zip file use cp437 codepage for stored filenames in compressed file and there is a solution, found on stackoverflow. Maybe somebody update the archiver lib also.
B4X:
ZipInputStream zis = new ZipInputStream(new BufferedInputStream(is), Charset.forName("Cp437"));
This is only a working idea, not a final, clean code but if somebody has problem like me, maybe check if it works elsewhere too.
best regards
Steven
 

Attachments

Last edited:
Top