This is one-line fix that encodes $transcript to UTF-8 so that non-ASCII characters are not interperted as garbage. Tested with Asterisk 1.8.22.0. With this fix, I can successfully give ${utterance} to googletts.agi without any encoding issues.
thank you very much for the patch. Indeed there is a need for a fix in unicode handling. I'm not merging this yet, I would like to perform some tests first and make sure nothing breaks.
This is one-line fix that encodes
$transcript
to UTF-8 so that non-ASCII characters are not interperted as garbage. Tested with Asterisk 1.8.22.0. With this fix, I can successfully give${utterance}
togoogletts.agi
without any encoding issues.