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