Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Adelina Fischer   on Jan 16 In Java Category.

  
Question Answered By: Faith Hughes   on Jan 16

Although the getResourceAsStream doesn't
work for me, I changed the statement to:

BufferedReader br = new BufferedReader(new InputStreamReader(new
FileInputStream(fileName), encoding));

and it seems to be working fine.

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Use BufferedReader with a specific encoding? Or get search suggestion and latest updates.


Tagged: