forked from github/dataease
fix: 尝试修复支持数据库字符集
This commit is contained in:
parent
a5d31401e4
commit
72cdab3c06
@ -1313,8 +1313,7 @@ public class ExtractDataService {
|
||||
|
||||
private final static String handleCharset = "\tif(tmp != null){\n" +
|
||||
" \t\t\ttry {\n" +
|
||||
" \t\tSystem.out.println(new String(tmp.getBytes(\"Datasource_Charset\"), \"Target_Charset\"));\n" +
|
||||
"\t\t\t\tget(Fields.Out, filed).setValue(r, new String(tmp.getBytes(\"ISO-8859-1\"), \"GBK\"));\n" +
|
||||
"\t\t\t\tget(Fields.Out, filed).setValue(r, new String(tmp.getBytes(\"Datasource_Charset\"), \"Target_Charset\"));\n" +
|
||||
" \t\t}catch (Exception e){}\n" +
|
||||
"\t\t}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user