From 114bb0b1c7498111a3aa361f6d4eb264b7b38a17 Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Mon, 12 Feb 2007 17:14:26 +0000 Subject: [PATCH] feature request [ 1658127 ] Select charset encoding on import --- base/src/org/compiere/model/NaturalAccountMap.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base/src/org/compiere/model/NaturalAccountMap.java b/base/src/org/compiere/model/NaturalAccountMap.java index 88a98614cd..0c37fec60a 100644 --- a/base/src/org/compiere/model/NaturalAccountMap.java +++ b/base/src/org/compiere/model/NaturalAccountMap.java @@ -35,6 +35,7 @@ import org.compiere.util.*; *

* Change log: *

* @@ -83,7 +84,7 @@ public final class NaturalAccountMap extends CCache try { // see FileImport - BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(file), "UTF-8"), 10240); + BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(file), Ini.getCharset()), 10240); // not safe see p108 Network pgm String errMsg = "";