mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-19 23:53:59 +01: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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user