This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to convert character codes to characters  RSS feed

 
Anoobkumar Padmanabhan
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers

in my application in JSP, I want to insert special characters like, ',",\ etc. it was working fine. but when i copy some text from some sites and paste as my input, it is not working. i found that this happens because the special characters in some sites are displayed using the name codes or number codes
[example: � -> left single quote
� -> left double quote
� -> middle dot ]

i want to change those codes to the actual character.

Is there any method is available for this conversion? or can any one tell me how to do this conversion.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!