feature request [ 1658127 ] Select charset encoding on import

This commit is contained in:
teo_sarca 2007-02-12 17:14:26 +00:00
parent c08f9affc5
commit 114bb0b1c7
1 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ import org.compiere.util.*;
* <p>
* Change log:
* <ul>
* <li>2007-02-12 - teo_sarca - [ 1658127 ] Select charset encoding on import
* <li>2007-01-27 - teo_sarca - [ 1619158 ] Import is not working with UTF-8
* </ul>
*
@ -83,7 +84,7 @@ public final class NaturalAccountMap<K,V> extends CCache<K,V>
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 = "";