Languages
[Edit]
EN

JSP - UTF-8 does not work on my web page

11 points
Created by:
Violet-Hoffman
232

1. Problem description

When I use tomcat with JSP and I open my web page in browser some local characters doesn't work.

2. Problem solution

Use for each JSP file following header:

<%@ page contentType="text/html;charset=UTF-8" language="java" %>

Note: content type information should be placed at begining of each *.jsp file.

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join