This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Character encoding issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Character encoding issue" Watch "Character encoding issue" New topic
Author

Character encoding issue

Vijay Ambekar
Greenhorn

Joined: Aug 19, 2002
Posts: 4
I have a textarea in one JSP. Users of the application will paste a content into this text area, which might be copied from a MS Word document. When I do request.getParameter(<textarea name> , the value or the character which has been pasted as apostrophe (') is being retrived (System.out.println) or is giving as Question Mark and when this character is stored in DB, it is converted to ’. Does any one know what is the solution to get rid of this behaviour.
This does not happen, if the copied text is from notepad.
Vijay Ambekar
Greenhorn

Joined: Aug 19, 2002
Posts: 4
Any one who know what is this issue?
Thanks in advance.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

the value or the character which has been pasted as apostrophe (') is being retrived (System.out.println) or is giving as Question Mark and when this character is stored in DB, it is converted to �. Does any one know what is the solution to get rid of this behaviour.

I did not get the above?


Groovy
 
 
subject: Character encoding issue
 
Similar Threads
How do I change font color in text area
Changing text color in TextArea
HTMLEditorKIT
how to handle the text which is copied from doc file
textarea tag problem