JAVA File Read Sample UTF-8
BufferedReader i = new BufferedReader(new InputStreamReader(new FileInputStream(file),"UTF-8"));
String str1 = i.readLine();
System.out.println("File text : "+ str1);
System.out.println("Reading Process Completly Successfully.");
0 件のコメント:
コメントを投稿