mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Make output files UTF-8 because of special character issues.
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Data.SQLite;
|
using System.Data.SQLite;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
|
|
||||||
@@ -150,7 +151,7 @@ namespace DATabase
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
FileStream fs = File.Create(datname + (_old ? ".dat" : ".xml"));
|
FileStream fs = File.Create(datname + (_old ? ".dat" : ".xml"));
|
||||||
StreamWriter sw = new StreamWriter(fs);
|
StreamWriter sw = new StreamWriter(fs, Encoding.UTF8);
|
||||||
|
|
||||||
// Temporarilly set _system if we're in MEGAMERGED mode to get the right header skip XML
|
// Temporarilly set _system if we're in MEGAMERGED mode to get the right header skip XML
|
||||||
if (_systems == "" && _sources == "")
|
if (_systems == "" && _sources == "")
|
||||||
|
|||||||
Reference in New Issue
Block a user