ARCHIVED! - Speech recognition framework allowing powerful Python-based scripting and extension of Dragon NaturallySpeaking (DNS) and Windows Speech Recognition (WSR)
GNU Lesser General Public License v3.0
364
stars
82
forks
source link
Fix UnicodeDecodeError when a Dictation element contains a word with an ... #8
First, dragonfly needs to specify that the encoding coming from Dragon is latin_1, not the default ascii. It also needs to use it when calling C module functions like getWordInfo.
In couple places Unicode strings would degrade to regular strings whenever they touched regular strings because Python 2 does implicit conversions.
...accent, like saute.
There's 2 parts to this: