Solved

not able to display spanish

Posted on 2014-03-28
6
203 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 142

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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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 …
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
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.

706 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now