Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

UTF-8 encoding in j2ee

Posted on 2010-11-14
6
Medium Priority
?
417 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 1332 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 1332 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
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 92

Assisted Solution

by:objects
objects earned 668 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

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.

Question has a verified solution.

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

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

661 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