Changed file opening to default to UTF-8.
This commit is contained in:
parent
31919e31cd
commit
706cd4aff2
3 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue