Following the instructions given here: https://developers.google.com/appengine/docs/java/config/appconfig#System_Properties_and_Environment_Variables To set the default encoding for UTF-8 as follows:
<env-variables> <env-var name="DEFAULT_ENCODING" value="UTF-8" /> </env-variables>
Throws the following exception:
com.google.appengine.tools.development.EnvironmentVariableChecker $ IncorrectEnvironmentVariableException: One or more environment variables have been configured in appengine-web.xml that are missing or have different values ββin the local environment. Instead, we recommend that you use system properties, but if you are interacting with legacy code that requires specific environment variables that have specific values, please set these environment variables in your environment before launching it. [Inconsistency environmentVariableName = DEFAULT_ENCODING environmentVariableValue = null appEngineWebXmlValue = UTF-8 appEngineWebXmlFile = C: \ xxx \ from \ artifacts \ yyy_war_exploded \ WEB-INF \ AppEngine-web.cheogle.geogle.geogle.geogle.gele.ml (EnvironmentVariableChecker.java:75)
I tried this:
-DDEFAULT_ENCODING=UTF-8
And this:
-Dfile.encoding=UTF-8
In the server startup configuration and
JAVA_TOOLS_OPTIONS=-Dfile.encoding=UTF-8 -DDEFAULT_ENCODING=UTF-8
I am using Windows 8 pro and Intellij Ultimate
Please, help
unify source share