zaf / asterisk-speech-recog

Speech recognition script for Asterisk that uses google's speech engine.
GNU General Public License v2.0
249 stars 132 forks source link

Fixed Unicode issue by encoding $transcript to UTF-8 #14

Closed zopieux closed 9 years ago

zopieux commented 9 years ago

When using non-English recognition, non-ASCII characters are wrongly encoded to some garbage. This is a one-line fix.${utterance} can now be used in googletts.agi for example.

zopieux commented 9 years ago

Sorry, I did not review the commit and it contains more things than needed. I'm going to open another PR.