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();
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -47,6 +47,10 @@
|
|||
<li>llSetLinkCamera</li>
|
||||
<li>llSetRegionPos</li>
|
||||
</ul>
|
||||
- Changed:
|
||||
<ul>
|
||||
<li>Opening files now assumes UTF-8 instead of ANSI format. At some point I'd like to make it auto-detecting for all supported formats.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
<h3><span class="date">2012-01-01</span> - Release 2.44.0</h3>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue