mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Merge branch 'master' of https://github.com/SubtitleEdit/subtitleedit
This commit is contained in:
commit
0ee57a25a4
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user