cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong char encoding after unzip on folders and files with accents

kuliado
Champ on-the-rise
Champ on-the-rise

Hello,

Is there a way to show the correct characters of files/folders name's inside a zip after the unzip action in Share ? (zip.png)

I've been trying to fiddle with ImporterActionExecuter.java, the encoding was defaulting to UTF-8, after forcing it to null so it defaults to the system the characters now show correctly in my logs but 'é' now shows as ',' in the name in Share (zip2.png) so not really an improvement.

Thanks in advance.

1 ACCEPTED ANSWER

cesarista
World-Class Innovator
World-Class Innovator

Hi:

I think I had a similar issue with unzip in Share sometime ago.

If I generated the zip file in Linux, there was no problem, but if I did it with winzip & winrar & 7zip tools in Windows, I experienced your issue when decompressing in Alfresco (expecting UTF-8 characters). The reason seems that these tools do not use unicode. Finally I found a compressing tool in Windows that was able to compress using unicode for the corresponding filenames (Bandizip).

Regards.

--C.

View answer in original post

2 REPLIES 2

cesarista
World-Class Innovator
World-Class Innovator

Hi:

I think I had a similar issue with unzip in Share sometime ago.

If I generated the zip file in Linux, there was no problem, but if I did it with winzip & winrar & 7zip tools in Windows, I experienced your issue when decompressing in Alfresco (expecting UTF-8 characters). The reason seems that these tools do not use unicode. Finally I found a compressing tool in Windows that was able to compress using unicode for the corresponding filenames (Bandizip).

Regards.

--C.

kuliado
Champ on-the-rise
Champ on-the-rise

Thanks a lot for your time and your explanations.

Have a nice day.