You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it seems like there are some flags that can be passed to the Speak function. It might make sense to just default the Speak function flags for _tts in sapi5.py to be SVSFIsNotXML (16) as the way it is now, it basically breaks on xml
self._tts.Speak(fromUtf8(toUtf8(text)), 16)
The text was updated successfully, but these errors were encountered:
jdude08221
changed the title
sapi5 crashing throwing exceptions when encountering xml character
sapi5 throwing exceptions when encountering xml character
Feb 16, 2022
when writing text starting with <, the sapi5 returns an exception if there is not valid xml following that character.
from
https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms720892(v=vs.85)
it seems like there are some flags that can be passed to the Speak function. It might make sense to just default the Speak function flags for _tts in sapi5.py to be SVSFIsNotXML (16) as the way it is now, it basically breaks on xml
self._tts.Speak(fromUtf8(toUtf8(text)), 16)
The text was updated successfully, but these errors were encountered: