Skip to content

Commit

Permalink
fix: save playlist in UTF-8
Browse files Browse the repository at this point in the history
Fixes #82
  • Loading branch information
Otiel committed Apr 30, 2019
1 parent c4c886a commit da9a43f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BandcampDownloader/Helpers/PlaylistHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System;
using System.IO;
using System.Text;
using PlaylistsNET.Content;
using PlaylistsNET.Models;

Expand Down Expand Up @@ -31,7 +32,7 @@ public static void SavePlaylistForAlbum(Album album) {
throw new NotImplementedException();
}

File.WriteAllText(album.PlaylistPath, fileContent);
File.WriteAllText(album.PlaylistPath, fileContent, Encoding.UTF8);
}

/// <summary>
Expand Down

0 comments on commit da9a43f

Please sign in to comment.