mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 15:06:06 +00:00
Suppression BOM pour github
This commit is contained in:
parent
ee7af8a22f
commit
515cf7cdb4
3 changed files with 4 additions and 4 deletions
|
|
@ -309,7 +309,7 @@ namespace AideDeJeuLib
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return $"---\n{Yaml}---\n{CleanMarkdown}";
|
return $"---\n{Yaml}---\n\n{CleanMarkdown}";
|
||||||
//return CleanMarkdown;
|
//return CleanMarkdown;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1419,7 +1419,7 @@ namespace AideDeJeuCmd
|
||||||
var serializer = new DataContractJsonSerializer(typeof(T));
|
var serializer = new DataContractJsonSerializer(typeof(T));
|
||||||
using (var stream = new FileStream(filename, FileMode.Create))
|
using (var stream = new FileStream(filename, FileMode.Create))
|
||||||
{
|
{
|
||||||
using (var writer = JsonReaderWriterFactory.CreateJsonWriter(stream, Encoding.UTF8, true, true, " "))
|
using (var writer = JsonReaderWriterFactory.CreateJsonWriter(stream, new UTF8Encoding(false), true, true, " "))
|
||||||
{
|
{
|
||||||
serializer.WriteObject(writer, objT);
|
serializer.WriteObject(writer, objT);
|
||||||
}
|
}
|
||||||
|
|
@ -1428,7 +1428,7 @@ namespace AideDeJeuCmd
|
||||||
|
|
||||||
private static async Task SaveStringAsync(string filename, string text)
|
private static async Task SaveStringAsync(string filename, string text)
|
||||||
{
|
{
|
||||||
using (var sw = new StreamWriter(path: filename, append: false, encoding: Encoding.UTF8))
|
using (var sw = new StreamWriter(path: filename, append: false, encoding: new UTF8Encoding(false)))
|
||||||
{
|
{
|
||||||
await sw.WriteAsync(text);
|
await sw.WriteAsync(text);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
JoA
2
JoA
|
|
@ -1 +1 @@
|
||||||
Subproject commit a969e609cd91f2c7ba69feb9f698bf3fde2c6422
|
Subproject commit e0cb48ecef71df11dc85b44fcffc99a9a8d5391f
|
||||||
Loading…
Add table
Add a link
Reference in a new issue