IDEMPIERE-4305 Improve CSV Import file Loader validaFile mthod to specify be charset (#82)
This commit is contained in:
parent
8b6d4e5d19
commit
4edd985ef8
|
@ -158,7 +158,7 @@ public class MImportTemplate extends X_AD_ImportTemplate
|
|||
BufferedWriter bw = null;
|
||||
try {
|
||||
tmpfile = File.createTempFile("CSVImportAction", "csv");
|
||||
bw = new BufferedWriter(new FileWriter(tmpfile));
|
||||
bw = new BufferedWriter(new FileWriter(tmpfile,charset));
|
||||
String firstLine = null;
|
||||
String line = null;
|
||||
while ((line = reader.readLine()) != null) {
|
||||
|
|
Loading…
Reference in New Issue