Commit a48da09a authored by liudong1993's avatar liudong1993

1

parent ec25f81b
...@@ -25,6 +25,7 @@ namespace Mall.Common.Plugin ...@@ -25,6 +25,7 @@ namespace Mall.Common.Plugin
/// <returns>压缩结果</returns> /// <returns>压缩结果</returns>
public static bool Zip(string fileToZip, string zipedFile, ref string errorOut) public static bool Zip(string fileToZip, string zipedFile, ref string errorOut)
{ {
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
bool result = false; bool result = false;
try try
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment