Skip to content

Commit

Permalink
Merge pull request #42 from kartverket/unzipUsingUtf8
Browse files Browse the repository at this point in the history
Unzip using utf-8
  • Loading branch information
Jarle Pedersen committed Jul 20, 2018
2 parents 521a612 + 03ba838 commit 418e97a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using Ionic.Zip;
using Kartverket.Geosynkronisering.Subscriber.DL;
using NLog;
Expand Down Expand Up @@ -65,7 +65,7 @@ public bool UnpackZipFile(string zipfile)
{
try
{
using (var zip = ZipFile.Read(zipfile))
using (var zip = ZipFile.Read(zipfile, new ReadOptions { Encoding = Encoding.UTF8 }))
{
zip.ToList().ForEach(entry =>
{
Expand Down

0 comments on commit 418e97a

Please sign in to comment.