title: How can I put UTF8 value to web.xml?
body: <p>I'm thinking to put some UTF-8 words into <code>web.xml</code> as <code>env-entry-value</code>, but somehow that will cause my war become not deployable to my server. A case of my setting that causes deployment failure look like below.</p>
  <pre><code>&lt;env-entry&gt;
      &lt;description&gt;Msg text&lt;/description&gt;
      &lt;env-entry-name&gt;Msg_Text&lt;/env-entry-name&gt;
      &lt;env-entry-type&gt;java.lang.String&lt;/env-entry-type&gt;
      &lt;env-entry-value&gt;兔子&lt;/env-entry-value&gt;
    &lt;/env-entry&gt;
  </code></pre>
  <p>error msgs</p>
  <pre><code>10:56:41,498 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-15) JBAS015877: Stopped deployment Test.war (runtime-name: Test.war) in 69ms
  10:56:41,920 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015858: Undeployed &quot;Test.war&quot; (runtime-name: &quot;Test.war&quot;)
  10:56:41,920 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
  JBAS014777:   Services which failed to start:      service jboss.deployment.unit.&quot;Test.war&quot;.PARSE
  </code></pre>
  <p>Can anyone teach me how to do it?</p>
  <p>======Update======</p>
  <p>Tried that with semi-colon again, <code>&amp;#53F0;</code>, then it got other error</p>
  <pre><code>    23:57:43,222 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014612: Operation (&quot;full-replace-deployment&quot;) failed - address: ([]) - failure description: {&quot;JBAS014671: Failed services&quot; =&gt; {&quot;jboss.deployment.unit.\&quot;Test.war\&quot;.PARSE&quot; =&gt; &quot;org.jboss.msc.service.StartException in service jboss.deployment.unit.\&quot;Test.war\&quot;.PARSE: JBAS018733: Failed to process phase PARSE of deployment \&quot;Test.war\&quot;
      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018014: Failed to parse XML descriptor \&quot;/C:/Windows/System32/content/Test.war/WEB-INF/web.xml\&quot; at [58,24]
      Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'F' (code 70); expected a decimal number.
   at [row,col {unknown-source}]: [58,24]&quot;}}
  23:57:44,144 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment Test.war (runtime-name: Test.war) in 915ms
  23:57:44,144 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
  JBAS014777:   Services which failed to start:      service jboss.deployment.unit.&quot;Test.war&quot;.PARSE
  </code></pre>
  <p>If I fill it with normal ascii characters, it works good. Do I missed anything else on that?</p>