Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

not able to display spanish

Posted on 2014-03-28
6
Medium Priority
?
211 Views
Last Modified: 2014-06-16
Migrated an application from weblogic to tomcat and some of the spanish characters are not getting displayed

for Ex:
solución  - This needs to be displayed as solución  

But it is displaying(IE and firefox) as soluci¿n

I am using the latest JSTL.

Let me know your ideas and solutions to get this acheived.

When I run this app from weblogic I dont have any issues.
0
Comment
Question by:nzdjava
  • 3
  • 2
6 Comments
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 800 total points
ID: 39962888
using the page encoding settings this should work:
<%@ page language="java" contentType="text/html; charset=ISO-8859-15"
    pageEncoding="ISO-8859-15"%>

hope this helps
0
 
LVL 12

Expert Comment

by:Sharon Seth
ID: 39965981
I believe you are using ResoureBundle (i18n) and  have a properites file for spanish?
0
 

Author Comment

by:nzdjava
ID: 39966518
Yes. I have preperties file for each language.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Assisted Solution

by:Sharon Seth
Sharon Seth earned 1200 total points
ID: 39968653
How abt adding this vm option to tomcat startup script:
-Dfile.encoding=UTF-8
0
 

Accepted Solution

by:
nzdjava earned 0 total points
ID: 39970267
Adding this on JSP fixed it

<%@ page pageEncoding="UTF-8" %>
0
 

Author Closing Comment

by:nzdjava
ID: 40136456
This is the correct solution for this

<%@ page pageEncoding="UTF-8" %>
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question