Display international language characters in JSP
IE 8 and Firefox 21. Tried to display international characters (such as Chinese characters along with the English characters) in a JSP.
I copy a Chinese character and pasted in a input field. It looks as it should be at first. Then I save it to the database (Oracle 11 and set to AL32UTF8 to handle multi-byte characters). Next retrieve the text and display it in a jsp. Now the character becomes the garbage character.
The JSP is set to
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<form id="frm" action="testPage.htm?cmd=loadPage&pageName=home" method="post" enctype="multipart/form-data" acceptCharset="UTF-8">
How to solve the problem?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)