selmf / unarr

A decompression library for rar, tar, zip and 7z archives
GNU Lesser General Public License v3.0
70 stars 13 forks source link

add an ar_entry_zip_get_raw_name to read zip entry raw name #10

Closed comicfans closed 4 years ago

comicfans commented 4 years ago

due to zip format not restrict for name encoding, filename can be encoded as many variants. this interface get original filename without encoding convert and slash replace (but only preserve part before \0 if invalid null terminator inside filename)

selmf commented 4 years ago

Great! I'll take care of the rest. If possible, I'd also like to credit you in the AUTHORS file, so I need a name and an email address I can add for you.

comicfans commented 4 years ago

Thank you, you can use Wang Xinyu (comicfans44 at gmail.com) as my name/mail

selmf commented 4 years ago

Done.