I am running a GWT application on Google App Engine which passes text input from the GUI via GWT-RPC/Servlet to an API. But umlauts like ä,ö,ü are misinterpreted by the API and the API shows only a ? instead of an umlaut.
I am pretty sure that the problem is the default character encoding on the Google App Engine, which is US-ASCII: US-ASCII does not know any umlaut.
Using umlauts with the API from JUnit-Tests on my local machine works. The default character encoding there is UTF-8.
The problem does not come from GWT or the Encoding with any HTML file; I used a Constant Java String within the appliation containing some umlauts and passed it to the API: the problem appears if the application is deployed in the Google App Engine.
Is there any way to change the Character Encoding in the Google App Engine? Or does anyone know another solution to my problem?
Storing umlauts from the GUI in the GAE Datastore and bringing them back to the GUI works funnily enough.
<system-properties><property name="file.encoding" value="UTF-8" /><property name="DEFAULT_ENCODING" value="UTF-8" /></system-properties>
and<env-variables><env-var name="DEFAULT_ENCODING" value="UTF-8" /></env-variables>
but it did not work. – André JanusAPI.call("test äöü")
will cause the API (it sends SMS) to send "test äöü" from my machine and "test ???" from GAE. – André Janus