File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes copyright symbol conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "copyright symbol conversion" Watch "copyright symbol conversion" New topic

copyright symbol conversion

vishnuvardhan reddy

Joined: Dec 07, 2008
Posts: 5
Hi All,
Can anyone tell me how can i convert © tag for copyright in HTMl to copyright symbol in text format.
I have tried using
result = htmltotextConv.replaceRegEx(result, "©","�", false);
but its not printing the symbol,even when i tried using the string instead of symbol its not working.
Please help me...
Martijn Verburg

Joined: Jun 24, 2003
Posts: 3275

I assume you're using some Open Source library for this? Or std Java?

Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
vishnuvardhan reddy

Joined: Dec 07, 2008
Posts: 5
I am using standard java n I have used standard replace method instead of regular expressions and i m getting the desired output.
Thanks for the reply.
I agree. Here's the link:
subject: copyright symbol conversion
jQuery in Action, 3rd edition