Anand Kumar Loganathan

Greenhorn
+ Follow
since Jul 01, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anand Kumar Loganathan

Hi Guys,

I have a registration form for a Greek web site. I had issues displaying Greek characters.

Then i added the below page header to my JSP


and also i have used a filter to add UTF-8 to the response.

Problem:

The above fix works perfectly fine with Apache tomcat server in dev environment but fails in weblogic server in production.

I have ensured that the weblogic.xml file also has encoding set to UTF-8, but still no success.

******************************************************************************

I tried logging the Greek characters using log4j with encoding set to UTF-8 to check whether the problem is with rendering the characters are pulling the characters from DB. But in the logs the Greek characters are not displayed even in the dev environment.

Adding salt to the burn when i sysout Greek characters in a test program Greek characters are shown in eclipse console without any problem.

I am puzzled here what actually controls the encoding format of a piece of code in execution and how to fix the discrepancies ???

Any thoughts on this would be much appreciated....


11 years ago
Thanks Stephen and Ralph!!!
12 years ago


The output is

0,0
0,20

But i was expecting it to be


0,0
20,20 as both rt and intt are object references. Is my understanding correct?.
12 years ago