Closed maditnerd closed 10 years ago
./tts -l fr "connecté" Instead of "connecté" you hear connectCOPYRIGHT
./tts -l fr "connecté"
In Line 39/35 https://github.com/StevenHickson/PiAUISuite/blob/master/VoiceCommand/tts#L39
Add ie=UTF-8 wget -q -U Mozilla -O "/dev/shm/tmp.mp3" "http://translate.google.com/translate_tts?ie=UTF-8tl=${lang}&q=$tmp"
wget -q -U Mozilla -O "/dev/shm/tmp.mp3" "http://translate.google.com/translate_tts?ie=UTF-8tl=${lang}&q=$tmp"
Thanks for the fix. Hadn't spotted this
How to reproduce the issue:
./tts -l fr "connecté"
Instead of "connecté" you hear connectCOPYRIGHTHow to correct the issue
In Line 39/35 https://github.com/StevenHickson/PiAUISuite/blob/master/VoiceCommand/tts#L39
Add ie=UTF-8
wget -q -U Mozilla -O "/dev/shm/tmp.mp3" "http://translate.google.com/translate_tts?ie=UTF-8tl=${lang}&q=$tmp"