Article 5721J JSP Content-TYpe not working

JSP Content-TYpe not working

by
mfoley
from LinuxQuestions.org on (#5721J)
I'm using Firefox in debug mode (F12). I have a .jsp program in which I specify:
Code:<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>But whenever I submit any form I get a console error:
Code:A form was submitted in the windows-1252 encoding which cannot encode all Unicode characters, so user input may get corrupted. To avoid this problem, the page should be changed so that the form is submitted in the UTF-8 encoding either by changing the encoding of the page itself to UTF-8 or by specifying accept-charset=utf-8 on the form element.I've also tried
Code:<%@ page contentType="text/html;encoding=UTF-8" %>Same error. This happens on pretty much all of the JSP files I have which contain forms.

Why?latest?d=yIl2AUoC8zA latest?i=fqS6YBRVI8Q:TP-JdffeBz0:F7zBnMy latest?i=fqS6YBRVI8Q:TP-JdffeBz0:V_sGLiP latest?d=qj6IDK7rITs latest?i=fqS6YBRVI8Q:TP-JdffeBz0:gIN9vFwfqS6YBRVI8Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments