Hi,

I have a jsp page running under jboss 4.2.2 server.

The structure for the page is like :

include head ( head is written on another page, like masterpage in aspx. )
<body> ( codded in main page )
include foot ( foot is also written in another page. )

head page contains the encoding and meta tags like :

<%@ 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 I write something in the page like : şğĞİÇçÖ ( türkish chars ) the characters is shown as "?" ( question mark ) what should I do to ignore this behavior ?

How can I show the text just like I write in the jsp page ?


thx..

You can try to use this encoding:
ISO-8859-9 taken from: http://www.w3schools.com/tags/ref_charactersets.asp

If it doesn't work you can try to change the encoding of the page at the browser if you go at at the "View" menu.

Or investigate that link for more ideas

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.