sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

"Extract Archive" not preserving character encoding of filenames

We are using "Extract Archive" to extract several .zip archives containing files with Asian characters in their names. After extraction, the filenames are mangled. Please see the attached images as an example. We are using Advanced Installer version 13.1 to do this. This is a high-priority issue for us.
Attachments
after_extraction.JPG
after_extraction.JPG (23.64 KiB) Viewed 6022 times
original.JPG
original.JPG (31.8 KiB) Viewed 6022 times
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Extract Archive" not preserving character encoding of filenames

Hi,

Can you please go in the "Builds" page of your project, select the "UTF-8 encoding" option from the "Database Encoding" section, rebuild the project and see if it works?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: "Extract Archive" not preserving character encoding of filenames

I already had that set.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Extract Archive" not preserving character encoding of filenames

Hi,

Can you please tell me which application was that archive created with? It seems that Windows built-in archiver does not support the compression of UTF-8 files on an English machine.

Indeed, the files are not extracted correctly because of an Advanced Installer limitation. I added this improvement on our TODO list and we will try to add it in a future version of Advanced Installer. Thank you for bringing it to our attention.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sbaird
Posts: 57
Joined: Tue Sep 01, 2015 2:08 pm

Re: "Extract Archive" not preserving character encoding of filenames

We have used both the latest versions of WinZip and 7-Zip to create the archives. The behavior is the same. Extraction works fine using either of those tools.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: "Extract Archive" not preserving character encoding of filenames

Thank you for the feedback.

As I already mentioned, we will improve this in a future version of Advanced Installer. We will also update this thread when the improvement will be available.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: "Extract Archive" not preserving character encoding of filenames

Hello,

This was fixed in version 13.8 of Advanced Installer released on March 30th, 2017.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”