Handling smart/curly quotes in Java
807580Jan 31 2010 — edited Jan 31 2010Hi - I want to know how to handle smart / curly quotes in Java. I need to replace them with actual quotes. I was trying somethin like below.
xmlString = xmlString .replaceAll( "", "'" );
but this is not working. Just tried to print indexOf( """) and it only returns -1. I was trying to use the html equiv value inside i.e ‘(folowed by semicolon. the preview replaces it with actual value)
Pls guide me on this. Its urgent!!
-Thanks,
Magesh
Edited by: magesh_rathnam on Jan 31, 2010 7:09 PM
Edited by: magesh_rathnam on Jan 31, 2010 7:10 PM