File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using special characters in java

 
hashmukh punamia
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Ranchers,

I want to add all the special characters to the ms-sql 2005 database using java program.
Is there anyway where we can encode the string with special characters.

Thanks & Regards,
Hashmukh
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java supports unicode. SQL Server supports unicode. You don't need to do anything, assuming you use a Unicode data type (e.g. nvarchar rather than varchar) in your datamodel.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic