feature request [ 1658127 ] Select charset encoding on import
This commit is contained in:
parent
c08f9affc5
commit
114bb0b1c7
|
@ -35,6 +35,7 @@ import org.compiere.util.*;
|
||||||
* <p>
|
* <p>
|
||||||
* Change log:
|
* Change log:
|
||||||
* <ul>
|
* <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
|
* <li>2007-01-27 - teo_sarca - [ 1619158 ] Import is not working with UTF-8
|
||||||
* </ul>
|
* </ul>
|
||||||
*
|
*
|
||||||
|
@ -83,7 +84,7 @@ public final class NaturalAccountMap<K,V> extends CCache<K,V>
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// see FileImport
|
// 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
|
// not safe see p108 Network pgm
|
||||||
String errMsg = "";
|
String errMsg = "";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue