wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android forum!
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: 3274

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: http://aspose.com/file-tools
subject: copyright symbol conversion
Similar Threads
Unicode characters - javax . xml . transform . Transformer
Java Program CopyWrite
problem rendering HTML symbols when using JSF + StrutsTiles