From 9e53df0c47495f520f94472d61762da24c9651eb Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Thu, 14 Jan 2021 01:09:21 -0600 Subject: [PATCH] Fix handling of Unicode when decoding project blob If a TAG with Unicode characters outside the normal ASCII range were saved to an AUP3, you would not be able to reopen it and you'd receive the following error: Unable to parse project information. --- src/ProjectFileIO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProjectFileIO.cpp b/src/ProjectFileIO.cpp index eb791ed59..5850d5aae 100644 --- a/src/ProjectFileIO.cpp +++ b/src/ProjectFileIO.cpp @@ -1998,7 +1998,7 @@ bool ProjectFileIO::LoadProject(const FilePath &fileName, bool ignoreAutosave) XMLFileReader xmlFile; // Load 'er up - success = xmlFile.ParseString(this, project); + success = xmlFile.ParseString(this, project.ToUTF8()); if (!success) { SetError(