Win a copy of Murach's Python Programming this week in the Jython/Python 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!