This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSP and the fly likes � problem with jstl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "� problem with jstl" Watch "� problem with jstl" New topic

� problem with jstl

roy joseph

Joined: Dec 26, 2003
Posts: 25
hello folks,

I really need help with this problem. Im stumped. I've searched the net still couldnt find a solution to this problem. I sure hope someone here can help me. I would appreciate it very much.

My problem is the character � not displaying in jsp. Something else gets displayed.

My situation is like this. We pick up a list of names from an oracle database and display them using jstl.

We are using struts and jstl by the way. We are using Jboss.

The problem is that some of names that we have in the oracle db has an � or � on them. Now there's no problem picking them up. I've checked the jboss log file and attest that the names are still intact. The � is there.

However, the resulting jsp page shows a different weird character. Looks like a diamond with a question mark that appears instead of �.

Stuff I've tried.
1. Added this on the jsp page.
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

no go.

2. Added this on top of the jsp page.
<fmt:requestEncoding value="UTF-8" />

no go.

Any ideas. I have a weird feeling there's an easy solution to this I just haven't found it yet.

Please help me. This is really urgent.

be annoying .. Aku Soku Zan
I agree. Here's the link:
subject: � problem with jstl
Similar Threads
JSF and Character Sets (UTF-8 mainly)
How to find encoding of byte[]
oracle character set problem
Problem while storing Japanese characters in Oracle 9i
cannot use utf-8 to store utf-8 character, please help