Subject | Re: JSP Turkish Character Problems.... |
---|---|
Author | Haci Yigit |
Post date | 2005-03-15T16:36:44Z |
in the jsp page i run this code:
String myStr = request.getParameter("NAME");
char[] chars = myStr.toCharArray();
for(int i = 0; i < chars.length; i++)
out.println("chars[" + i + "] = " + ((int)chars[i]));
it gives this output :
chars[0] = 222 chars[1] = 221 chars[2] = 208 chars[3] = 220
String myStr = request.getParameter("NAME");
char[] chars = myStr.toCharArray();
for(int i = 0; i < chars.length; i++)
out.println("chars[" + i + "] = " + ((int)chars[i]));
it gives this output :
chars[0] = 222 chars[1] = 221 chars[2] = 208 chars[3] = 220