Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Non ascii characters are padding without reason

770455Oct 15 2009 — edited Oct 16 2009
Hi all,

here is my issue :

I have description field in my jsp page, when user enters some non ASCII characters as shown below :

This is user had entered the input string is :
"Hello ������� Hello" (without quotes)

When he edits for the first time without change anything in the the string and save, then it became :
"Hello Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã? Hello" (without quotes)

Then again one more time, it became :
"Hello Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â?Ã?Â? Hello" (without quotes)

Like wise it is getting increased its size. I'm saving the data to Oracle 10g database from jsp.

Please suggest what to do to rectify the problem.

Thanks & regards,
Achchayya
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 13 2009
Added on Oct 15 2009
15 comments
646 views