Fixed Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1629947&group_id=176962&atid=879332
This commit is contained in:
parent
7aff8c3922
commit
3c47b9f8e6
|
@ -149,7 +149,7 @@ public class GenerateModel
|
||||||
+ "import org.compiere.util.*;"
|
+ "import org.compiere.util.*;"
|
||||||
// Class
|
// Class
|
||||||
+ "/** Generated Model for ").append(tableName).append("\n"
|
+ "/** Generated Model for ").append(tableName).append("\n"
|
||||||
+ " * @author Jorg Janke (generated) \n"
|
+ " * @author Adempiere (generated) \n"
|
||||||
+ " * @version ").append(Adempiere.MAIN_VERSION).append(" - $Id$")
|
+ " * @version ").append(Adempiere.MAIN_VERSION).append(" - $Id$")
|
||||||
// .append(s_run) // Timestamp
|
// .append(s_run) // Timestamp
|
||||||
.append(" */\n"
|
.append(" */\n"
|
||||||
|
@ -695,7 +695,9 @@ public class GenerateModel
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
File out = new File (fileName);
|
File out = new File (fileName);
|
||||||
FileWriter fw = new FileWriter (out);
|
// FileWriter fw = new FileWriter (out);
|
||||||
|
// http://sourceforge.net/tracker/index.php?func=detail&aid=1629947&group_id=176962&atid=879332
|
||||||
|
Writer fw = new OutputStreamWriter(new FileOutputStream(out, false), "UTF-8");
|
||||||
for (int i = 0; i < sb.length(); i++)
|
for (int i = 0; i < sb.length(); i++)
|
||||||
{
|
{
|
||||||
char c = sb.charAt(i);
|
char c = sb.charAt(i);
|
||||||
|
|
Loading…
Reference in New Issue