I recently wrote a zip file I/O library called zipzap, but I\'m struggling with correctly decoding zip entry file names from arbitrary zip files.
Now, the PKWARE spe
At the moment situation is as following:
So the only way is to check if filename contains something like utf-8 characters (check description of utf8 encoding - first byte should be 110xxxxx, second - 10xxxxxx for 2-bytes encoded chars). If it is correct utf8 string - use utf8 encoding. If not - fall back to OEM/DOS encoding.