This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "copyright symbol conversion" Watch "copyright symbol conversion" New topic
Author

copyright symbol conversion

vishnuvardhan reddy
Greenhorn

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
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

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
Greenhorn

Joined: Dec 07, 2008
Posts: 5
Hi,
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.
 
Consider Paul's rocket mass heater.
 
subject: copyright symbol conversion