Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

not able to display spanish

Posted on 2014-03-28
6
Medium Priority
?
210 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 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
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.

719 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