Solved

not able to display spanish

Posted on 2014-03-28
6
207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 200 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
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 
LVL 12

Assisted Solution

by:Sharon Seth
Sharon Seth earned 300 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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 …
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
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.

733 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