954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

JSP Turkish Character Problem

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. )
( 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..

annttiigs
Newbie Poster
8 posts since Feb 2011
Reputation Points: 10
Solved Threads: 1
 

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

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: