Languages
[Edit]
EN

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

11 points
Created by:
AnnLen
9180

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
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join