You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
there is an issue with German umlauts.
When you send a response with ä, ö or ü, Google Assistant will not pronounce and display them correctly. For example, "ü" is displayed and spoken as "ü".
I found no information about this and I found nothing in the settings.
I tried to use the right charset for this. String response = new String(responseBody.getBytes(StandardCharsets.UTF_8));
And the Text is displayed correctly in the console. (When I debug it locally) {"fulfillmentText":"Diese Funktion wird derzeit noch nicht unterstützt...
Before I set the charset:
-> {"fulfillmentText":"Diese Funktion wird derzeit noch nicht unterst�tzt...
After I set the charset:
-> {"fulfillmentText":"Diese Funktion wird derzeit noch nicht unterstützt...
But the issue is, Google Assistant doesn't receive the Text correctly.
Any ideas how to fix this?
The text was updated successfully, but these errors were encountered:
Update: This worked locally but not on production: resp.getOutputStream().write(new String(("" + responseBody).getBytes(StandardCharsets.UTF_8), StandardCharsets.UTF_8).getBytes());
Hello,
there is an issue with German umlauts.
When you send a response with ä, ö or ü, Google Assistant will not pronounce and display them correctly. For example, "ü" is displayed and spoken as "ü".
I found no information about this and I found nothing in the settings.
I tried to use the right charset for this.
String response = new String(responseBody.getBytes(StandardCharsets.UTF_8));
And the Text is displayed correctly in the console. (When I debug it locally)
{"fulfillmentText":"Diese Funktion wird derzeit noch nicht unterstützt...
Before I set the charset:
->
{"fulfillmentText":"Diese Funktion wird derzeit noch nicht unterst�tzt...
After I set the charset:
->
{"fulfillmentText":"Diese Funktion wird derzeit noch nicht unterstützt...
But the issue is, Google Assistant doesn't receive the Text correctly.
Any ideas how to fix this?
The text was updated successfully, but these errors were encountered: