Andrei Savu Andrei Savu - 1 year ago 87
Java Question

How to convert a Reader to InputStream and a Writer to OutputStream?

Is there an easy way to avoid dealing with text encoding problems?

Answer Source

You can't really avoid dealing with the text encoding issues, but there are existing solutions:

You just need to pick the encoding of your choice.