title: How to set Unicode in Google app-engine?
body: <p>I am building my app in Google App Engine</p>
  
  <p>Ok, here I got a <code>Servlet</code></p>
  
  <pre><code>public void doPost(HttpServletRequest req, HttpServletResponse resp)
          throws IOException {
       String firstName=req.getParameter("firstName");
       System.out.println(URLDecoder.decode(firstName, "UTF-8")+" "+ firstName);
    }
  </code></pre>
  
  <p>Now, I sent "Thủy" to the <code>Servlet</code> and it shows this output</p>
  
  <pre><code>th?y th?y
  </code></pre>
  
  <p>Then, I set up <code>appengine-web.xml</code></p>
  
  <pre><code>&lt;appengine-web-app&gt;.......
   &lt;env-variables&gt;
      &lt;env-var name="DEFAULT_ENCODING" value="UTF-8" /&gt;
    &lt;/env-variables&gt;
  
  &lt;/appengine-web-app&gt;
  </code></pre>
  
  <p>Then when running i got this error:</p>
  
  <pre>
  com.google.appengine.tools.development.EnvironmentVariableChecker$IncorrectEnvironmentVariableException: One or more environment variables have been configured in appengine-web.xml that have missing or different values in your local environment. We recommend you use system properties instead, but if you are interacting with legacy code that requires specific environment variables to have specific values, please set these environment variables in your environment before running.
  [Mismatch environmentVariableName=DEFAULT_ENCODING environmentVariableValue=null appEngineWebXmlValue=UTF-8 appEngineWebXmlFile=C:\Users\henry\workspace8\FluentEnglish\war\WEB-INF\appengine-web.xml]
      at com.google.appengine.tools.development.EnvironmentVariableChecker.check(EnvironmentVariableChecker.java:75)
      at com.google.appengine.tools.development.ApplicationConfigurationManager.checkEnvironmentVariables(ApplicationConfigurationManager.java:240)
      at com.google.appengine.tools.development.ApplicationConfigurationManager.access$000(ApplicationConfigurationManager.java:32)
      at com.google.appengine.tools.development.ApplicationConfigurationManager$WarModuleConfigurationHandle.checkEnvironmentVariables(ApplicationConfigurationManager.java:394)
      at com.google.appengine.tools.development.JettyContainerService.connectContainer(JettyContainerService.java:211)
      at com.google.appengine.tools.development.AbstractContainerService.createConnection(AbstractContainerService.java:273)
      at com.google.appengine.tools.development.AbstractInstanceHolder.createConnection(AbstractInstanceHolder.java:37)
      at com.google.appengine.tools.development.AbstractModule.createConnection(AbstractModule.java:73)
  </pre>
  
  <p>So, <em>what's wrong?</em> </p>
  
  <p><em>Why doesn't HttpServletRequest show Unicode Text?</em></p>
  
  <p><em>How to make HttpServletRequest show Unicode Text?</em></p>