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:

  1. your editor didn't save page utf-8. check default settings and/or save as option.
  2. 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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -