java.io.FileInputStream fis=new java.io.FileInputStream(
"File Path");
java.io.InputStreamReader isr=new java.io.InputStreamReader(
fis, "UTF8");
java.io.BufferedReader fin=
new java.io.BufferedReader(isr);
String line;
while((line=fin.readLine())!=null){
//Statements
}//end of while
Showing posts with label language. Show all posts
Showing posts with label language. Show all posts
Thursday, January 08, 2009
reqading txt files with UTF8 formats
Well this code helped me reading Persian language characters from a text files.
Sunday, September 07, 2008
Setting up Persian language in Ubuntu
For viewing Persian alphabet in Ubuntu, you can simply install the package called "msttcorefonts".
Code:
Code:
setxkbmap -option grp:switch,grp:shift_toggle,grp_led:scroll us,ir &
If it works then you just need to have this line executed everytime you login (for example have it in a script that will be run in your profile or in your Autorun)
Source : http://ubuntuforums.org/showthread.php?t=198188
Subscribe to:
Comments (Atom)