Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UTF-8 or Default

 
Ramesh kumaar
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
I am in my completion stage of my assignment and now I am typing design document. I have a small doubt.
Whether to use default encoding or UTF encoding in the String constructor for removing the deprecation?
As far my understanding, the default encoding used in the assingment is UTF-8, as we can see in the constructor of Data class, wherein writeUTF and readUTF methods of RandomAccessFile are used.
So that means the database is using UTF encoding? So whats harm in hardcoding UTF-8 encoding.
Suggestions please.

regards,
RameshKumar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic