• Post Reply Bookmark Topic Watch Topic
  • New Topic

Data Type for Large text  RSS feed

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a large text field in my application. Which java data type i should use to get the value.

If i use String how should deal with special characters.


For simple example you can consider the question text space ( Add new topic ) in javaranch.


Thanks
abhee
 
Sheriff
Posts: 22846
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you should use String.

And "special characters"? What do you mean by that? There aren't any such things as far as the String class is concerned, as it can store all of the characters in Unicode. So this could only mean something in the context of some other component of the system which can't deal with Unicode.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!