Andrei Savu Andrei Savu - 11 months ago 73
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.