From 02d90ebab55c0fc37df2dbe19934d17e3c5d1f62 Mon Sep 17 00:00:00 2001 From: Zero Date: Sat, 30 Jun 2018 14:00:59 +0800 Subject: [PATCH] Added chapter css charset --- src/syosetuDownloader/Properties/AssemblyInfo.cs | 4 ++-- src/syosetuDownloader/Syousetsu.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/syosetuDownloader/Properties/AssemblyInfo.cs b/src/syosetuDownloader/Properties/AssemblyInfo.cs index eea0f88..f1d83b5 100644 --- a/src/syosetuDownloader/Properties/AssemblyInfo.cs +++ b/src/syosetuDownloader/Properties/AssemblyInfo.cs @@ -51,5 +51,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.3.2")] -[assembly: AssemblyFileVersion("2.3.2")] +[assembly: AssemblyVersion("2.3.4")] +[assembly: AssemblyFileVersion("2.3.4")] diff --git a/src/syosetuDownloader/Syousetsu.cs b/src/syosetuDownloader/Syousetsu.cs index 3de52f1..1e7cda4 100644 --- a/src/syosetuDownloader/Syousetsu.cs +++ b/src/syosetuDownloader/Syousetsu.cs @@ -369,7 +369,7 @@ public static void SaveFile(Syousetsu.Constants details, string[] chapter, int c fileName = String.Format(fileName + ".htm", new object[] { current, chapter[0], details.SeriesCode }); - File.WriteAllText(Path.Combine(path, "ChapterStyle.css"), "/*chapter css here*/"); + File.WriteAllText(Path.Combine(path, "ChapterStyle.css"), "@charset \"UTF - 8\";\n/*chapter css here*/"); } chapter[0] = String.Empty;