t4ngo/dragonfly — pull request #8 by jgarvin (2014-10-15 22:51:28+00:00)
Title: Fix UnicodeDecodeError when a Dictation element contains a word with an ...

...accent, like saute.

There's 2 parts to this:

1. 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.

2. In couple places Unicode strings would degrade to regular strings whenever they touched regular strings because Python 2 does implicit conversions.