• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

UTF-8 or Default

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic