What are the guidelines i should follow to avoid encoding issues when reading files or converting string to bytes, bytes to streams streams to reader etc. Any important notes, tutorials would also help.
Best Regards, Keshav
What are the guidelines i should follow to avoid encoding issues when reading files or converting string to bytes, bytes to streams streams to reader etc. Any important notes, tutorials would also help.
Best Regards, Keshav
My advice is to use java.io.Reader
/ java.io.Writer
if possible, and set the character when you use InputStreamReader
/ OutputStreamWriter
.