JSP Turkish Character Problem -
i have jsp page running under jboss 4.2.2 server.
the structure page this:
include head ( head written on page, masterpage in aspx. )
(body ( problem appears ))
include foot ( foot written in page. )
the head page contains encoding , meta tags:
<%@ page language="java" contenttype="text/html; charset=utf-8" pageencoding="utf-8"%> <!doctype html public "-//w3c//dtd html 4.01 transitional//en" "http://www.w3.org/tr/html4/loose.dtd">
when write characters in page such şğĞİÇçÖ
(turkish) characters shown "?" ( question mark ) should avoid behavior?
how can have text shown writen in jsp page?
i see 2 potential causes:
- your editor didn't save page utf-8. check default settings and/or save as option.
- the
@page
missing in of jsps. has present in all jsp files, includes.
unrelated concrete problem, following in top of jsp been enough:
<%@ page pageencoding="utf-8" %>
the remnant you've put there (implicit) defaults.
Comments
Post a Comment