Changed file opening to default to UTF-8.

This commit is contained in:
niel-archer 2012-02-01 11:09:33 +00:00
parent 31919e31cd
commit 706cd4aff2
3 changed files with 5 additions and 1 deletions

View file

@ -2223,7 +2223,7 @@ namespace LSLEditor
{
if (File.Exists(path))
{
StreamReader sr = new StreamReader(path, Encoding.Default);
StreamReader sr = new StreamReader(path, Encoding.UTF8);
this.Text = sr.ReadToEnd();
sr.Close();
}