I am extracting a zip file using system.io.compression in .net 4.5
var path = @"<zipfilePath>";
using (ZipArchive zarc = ZipFile.Open(path, ZipArchiveMode.Read,Encoding.UTF8))
{
var file= zarc.Entries.First().FullName;
}
電子メール・テンプレート___第_6_世代インテル®_コア™_ヴィープロ™プロセッサー(カスタマイズ可能
this is my file in the zip. the filename after extracting becomes
pchir�gzxsii___u_6_wtyzgrr_nwT_axixtT_xtvdpi_(ftzeyulb
I know its a encoding issue.But I am not sure which encoding to use here. Additionally I would like to know if a zip contains filename like chinese,korean etc . how to handle encoding for each so that after extracting those I get the exact file name. Thanks in advance.