This commit is contained in:
niksedk 2022-01-09 10:19:44 +01:00
commit 0ee57a25a4
2 changed files with 4 additions and 4 deletions

View File

@ -110,13 +110,13 @@ namespace Nikse.SubtitleEdit.Forms
sb.AppendLine(MakeParagraphCsvLine(p));
}
File.WriteAllText(saveDialog.FileName, sb.ToString());
File.WriteAllText(saveDialog.FileName, sb.ToString(), Encoding.UTF8);
}
}
private static string MakeParagraphCsvLine(Paragraph paragraph)
{
const string separator = ";";
const string separator = ",";
var sb = new StringBuilder();
sb.Append(paragraph.Number + separator);
sb.Append(ToCsvText(paragraph.StartTime.ToDisplayString()) + separator);

View File

@ -221,13 +221,13 @@ namespace Nikse.SubtitleEdit.Forms
sb.AppendLine(MakeParagraphCsvLine(p));
}
File.WriteAllText(saveDialog.FileName, sb.ToString());
File.WriteAllText(saveDialog.FileName, sb.ToString(), Encoding.UTF8);
}
}
private static string MakeParagraphCsvLine(Paragraph paragraph)
{
const string separator = ";";
const string separator = ",";
var sb = new StringBuilder();
sb.Append(paragraph.Number + separator);
sb.Append(ToCsvText(paragraph.StartTime.ToDisplayString()) + separator);