Closed 6Morpheus6 closed 1 week ago
Open text file with utf-8 encoding
Added utf-8 encoding when opening a text file upladed in tts tab to prevent unicode errors
Text upload fails if the text file contains non-unicode letters. Explicit utf-8 encoding when opening the file fixes this issue.
Uploading a file with non-unicode letters resulted in a UnicodeDecodeError
Open text file with utf-8 encoding
Added utf-8 encoding when opening a text file upladed in tts tab to prevent unicode errors
Description
Motivation and Context
Text upload fails if the text file contains non-unicode letters. Explicit utf-8 encoding when opening the file fixes this issue.
How has this been tested?
Uploading a file with non-unicode letters resulted in a UnicodeDecodeError
Screenshots (if appropriate):
Types of changes
Checklist: