In Progress [CPANEL-19355] unzip not support utf8

dzung0402

Registered
Dec 11, 2019
3
0
1
Viet Nam
cPanel Access Level
DataCenter Provider
My client uploads a zip file containing files with utf8 code. when the client unzip use cpanel file manager or shell access on cpanel, file unzip corrupted encoding. but I unzip with root it support utf8
anyone have solution fix error ?
 

cPanelHB

Technical Analyst
Staff member
Sep 6, 2018
42
7
83
Houston
cPanel Access Level
Root Administrator
Hello,

What command line flag did your customer use to extract the file in their shell?

The File Manager currently passes -UU to the unzip command it runs. This was done to support certain zip files that would extract with mangled filenames with the default unzip flags. Unfortunately, some zip files require -UU be sent, while others require that it be omitted. We have an internal case CPANEL-19355 regarding this.

For now, if your client's zip file requires that -UU be omitted, the only solution is to extract it with the unzip command line interface manually.