mardi 20 juillet 2021

Jsp charset encoding issue

I make some web program

Using tomcat, jsp, java In AIX SERVER

In my jsp file I have a code <%@ page contentType="text/html;charset=euc-kr" @>

But, it show ??? Like this. If i success it have to be print 성공 like this

I want to use utf-8 but my environment can't agree it. So i have to use euc-kr encoding

I already tried

Add pageEncoding="euc-kr"

Change server.xml --add URIEncoding

Change tomcat web.xml --add filter

Add meta tag in jsp

I think i don't nee set.request because data is fine

Problem is just character in jsp.

If i didn't do nothing it show ¿¤0》 like this

I don't know what can i do now..




Aucun commentaire:

Enregistrer un commentaire