Solved

not able to display spanish

Posted on 2014-03-28
6
205 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
bigHeights  challenge 13 62
mergeTwo  challenge 13 92
parentbit challenge 3 102
Suggestion on WebSite Template Sites 6 101
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.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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.

770 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