mesmariusz
Posts: 57
Joined: Fri Feb 15, 2013 6:07 am

Google voice generation and polish characters

Mon Aug 05, 2013 10:59 am

Hello!

Topic is voice generation from text follow:
http://blog.oscarliang.net/raspberry-pi ... omment-490

I have changed into polish:

say() { local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols "http://translate.google.com/translate_t ... &q=${SHORT[$key]}"; }

But I have troubles with reading polish characters (ą, ę, ś, ć etc.)

It's mobile site: http://meyerweb.com/eric/tools/dencoder/

String "Literki ą ś ć ń ź" is translated to:
"Literki%20%C4%85%20%C5%9B%20%C4%87%20%C5%84%20%C5%BA"

Unfortunatelly:

root@raspberrypi:/home/pi# /home/pi/scripts/text2speech_pl.sh "Literki%20%C4%85%20%C5%9B%20%C4%87%20%C5%84%20%C5%BA"

Causes only read the "literki", so that's not it ...

Any ideas?

Return to “General programming discussion”