[英]C# and SharpZipLib encording error
I am using SharpZipLib to compress with C#. 我正在使用SharpZipLib用C#压缩。
but, If any file's name is written in Korean, file name is changed. 但是,如果用韩文写任何文件名,则文件名会更改。
I think I need to change encording ? 我想我需要更改记录吗? What should I do? 我该怎么办?
Please try the following: 请尝试以下操作:
ZipConstants.DefaultCodePage = System.Text.Encoding.Default.CodePage;
See http://community.sharpdevelop.net/forums/p/1954/36951.aspx 参见http://community.sharpdevelop.net/forums/p/1954/36951.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.