My aim is to make Mathematica speak out German words with Umlauts. I found a hint how to make use of a help function mySpeak that will forward a string to the say command and set the corresponding voice parameter.
However, I have not found a way to successfully forward Umlaut-letters from the notebook (or imported text file) through this mechanism to the say command. It seems that the InputForm formatting implicit of Run "breaks" the Umlaut encoding.
How can I send this exact string with appropriate and successful Umlaut encoding from Mathematica to the OS X terminal?
"say -v Anna öffentlich"
I used a line like this to see where it breaks:
Print[InputForm["say -v Anna öffentlich"]]
which returns:
"say -v Anna Ã[Paragraph]ffentlich"
where [Paragraph] is shown as a symbol.
Speak["öffentlich"]
work? $\endgroup$Run
is important in this question for other reasons. $\endgroup$