title: JSP giving page with question marks for russian text
body: <p>I am implementing JSP page, where from database I get some list and showing it in JSP using jquery-ui autocomplete combobox:</p>
  
  <pre><code> &lt;div class="ui-widget"&gt;
          &lt;label&gt;Select MKB from list: &lt;/label&gt;
          &lt;select id="combobox"&gt;
              &lt;option value=""&gt;&lt;/option&gt;
              &lt;c:forEach var="mkb" items="${mkbList}"&gt;
                  &lt;option value="${mkb.id}"&gt;&lt;c:out value="${mkb.mkbText}"/&gt;&lt;/option&gt;
              &lt;/c:forEach&gt;
          &lt;/select&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>And the problem is that the values in the combo box are all in question marks when loading page in browser (russian characters expected).</p>
  
  <p>In the same jsp file I am including header.jsp, where there is the following line:</p>
  
  <pre><code>&lt;%@page contentType="text/html; UTF-8" pageEncoding="UTF-8"%&gt;
  </code></pre>
  
  <p>So the encoding should be fine. The encoding of source file is also in UTF-8
  In jsp file there is also line:</p>
  
  <pre><code>&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
  </code></pre>
  
  <p>I am using tomcat8 and Java 7. 
  One more thing I have tried is adding:
  -Dfile.encoding=UTF-8 to the startup parameters of tomcat.</p>
  
  <p>The Servlet itself is doing the following:</p>
  
  <pre><code>public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
      MkbDAO mkbDAO = new MkbDAO();
      List&lt;MKB&gt; mkbList = mkbDAO.getMKBList();
      request.setAttribute("mkbList", mkbList);
      RequestDispatcher rd = getServletConfig().getServletContext().getRequestDispatcher("/WEB-INF/jsp/diagList.jsp");
      rd.include(request, response);
  }
  </code></pre>
  
  <p>I was debugging that servlet code, and  looked at values in debugger watch window, and values of the list were shown in correct russian characters. </p>
  
  <p>Could you help with resolving this issue? </p>