質問編集履歴
1
誤字を修正いたしました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -65,7 +65,7 @@
|
|
65
65
|
try {
|
66
66
|
/* 文字コードUTF-8のファイルを読み込んでShift-JISに変換する */
|
67
67
|
|
68
|
-
File fileIn = new File("C:\Users\
|
68
|
+
File fileIn = new File("C:\Users\Desktop\java\文字コード\文字コードCSV\UTF8.csv");
|
69
69
|
|
70
70
|
//文字コードUTF-8を指定してファイルを読み込む
|
71
71
|
FileInputStream input = new FileInputStream(fileIn);
|
@@ -73,7 +73,7 @@
|
|
73
73
|
BufferedReader buffer = new BufferedReader(stream);
|
74
74
|
|
75
75
|
//書き込む用のファイルを指定する
|
76
|
-
File fileOut = new File("C:\Users\
|
76
|
+
File fileOut = new File("C:\Users\Desktop\「実行」機能保存先フォルダ\変換後文字コード確認.csv");
|
77
77
|
PrintWriter p_writer = new PrintWriter
|
78
78
|
(new BufferedWriter(new OutputStreamWriter
|
79
79
|
(new FileOutputStream(fileOut),"SJIS")));
|