Solved

UTF-8 encoding in j2ee

Posted on 2010-11-14
6
410 Views
Last Modified: 2012-06-27
Hello,

How to setup utf-8 char encoding in j2ee app?

Thank you.
0
Comment
Question by:sahanz
[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 86

Accepted Solution

by:
CEHJ earned 333 total points
ID: 34130964
That's too open-ended a question. The answer could vary from 'nothing' (if your platform encoding is already utf-8) to several steps
0
 
LVL 1

Author Comment

by:sahanz
ID: 34130980
I think the the platform encoding is already UTF-8
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 333 total points
ID: 34130999
Then there really shouldn't be anything you need to do. You can test with the following

http://technojeeves.com/joomla/index.php/free/54-javasystemproperties
System.out.println(System.getProperty("file.encoding"));

Open in new window

0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 92

Assisted Solution

by:objects
objects earned 167 total points
ID: 34132584
you'll need to set the encoding on the page
and also use a filter to set the encoding on the request and response
0
 
LVL 1

Author Closing Comment

by:sahanz
ID: 34246596
Thanks, had to study more.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 34247290
:)
0

Featured Post

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!

Question has a verified solution.

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

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses

626 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