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.