title: Codification in JSP Imports
body: <p>Good night.</p>
  
  <p>I'm having trouble import static html page to a JSP page with UTF-8.</p>
  
  <p>My JSP is UTF-8. I Write my HTML fragment with UTF-8, but I include with &lt;%@include file="includes/menu.html"%>, the text is with the wrong encoding.</p>
  
  <p>My JSP is complex, but my html is, an simple example:</p>
  
  <pre><code>&lt;div&gt;
     &lt;ul&gt;
        &lt;li&gt;Text with Á (acentuation)&lt;/li&gt;
     &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Is very simple html, containing the application menu, but this error is occurring.</p>
  
  <p>A very simple JSP is:</p>
  
  <pre><code>&lt;%@ page contentType="text/html;charset=UTF-8" language="java" %&gt;
  &lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;
  &lt;!DOCTYPE html&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8" /&gt;
      &lt;title&gt;Example&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
      &lt;%@include file="includes/menu.html"%&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>PS: if I put directly in JSP, it works normally.</p>