Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Caleb Smith   on Jul 26 In Java Category.

  
Question Answered By: Tara Ryan   on Jul 26

Is your ISO-8859-1 content stored in a file? If so, try this:


FileInputStream fis = new FileInputStream("iso8859fileName");
InputStreamReader isr = new InputStreamReader(fis, "ISO-8859-1");

FileOutputStream fos = new FileOutputStream("utf8fileName");
OutputStreamWriter osw = new OutputStreamWriter(fos, "UTF-8");

Share: 

 

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

 
Didn't find what you were looking for? Find more on converting farsi charset Or get search suggestion and latest updates.


Tagged: