1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

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.
This commit is contained in:
Leland Lucius 2021-01-14 01:09:21 -06:00
parent 171d8cf26c
commit 9e53df0c47

View File

@ -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(