use replaceAll
This commit is contained in:
parent
bb883c0c4b
commit
2aa8e1bd0e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue