From what I can read on Stack Overflow, the FileReader only takes files, where the FileInputStream can read all. But is there any advantages in using the FileReader then? Is it faster?
I read that:
"FileReader does not allow you to specify an encoding and instead uses the plaform default encoding, which makes it pretty much useless as using it will result in corrupted data when the code is run on systems with different platform default encodings."
But didn't quite get it. What does platform default encodings mean?