Skip to content

Commit

Permalink
Save .view files in UTF-8 instead of Unicode (#3211)
Browse files Browse the repository at this point in the history
Changed to save .view files as UTF-8 instead of Unicode
  • Loading branch information
nickshulman authored Nov 5, 2024
1 parent ab60214 commit be87df0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion pwiz_tools/Skyline/SkylineFiles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ private void SaveLayout(string fileName)
{
if (saverUser.CanSave())
{
dockPanel.SaveAsXml(saverUser.SafeName);
dockPanel.SaveAsXml(saverUser.SafeName, Encoding.UTF8);
saverUser.Commit();
}
}
Expand Down
Binary file modified pwiz_tools/Skyline/TestUtil/minimal.sky.view
Binary file not shown.

0 comments on commit be87df0

Please sign in to comment.