use replaceAll

This commit is contained in:
sonora 2013-08-20 15:39:23 +02:00
parent bb883c0c4b
commit 2aa8e1bd0e

View file

@ -428,7 +428,7 @@ public class VoiceRouter {
if(res != null) {
res = res.replace('-', ' ');
res = res.replace(':', ' ');
res = res.replace('\u00df', 'ss'); // this should help non-German tts voices to pronounce German "Straße" (=street)
res = res.replaceAll("ß", "ss"); // this should help non-German tts voices to pronounce German "Straße" (=street)
}
return res;
}