Message13152
My Java code :
PythonInterpreter interp = new PythonInterpreter() {
{
cflags = new CompilerFlags(CompilerFlags.PyCF_SOURCE_IS_UTF8);
}
};
String outputPath = "C:\\views\\mithun.txt";
interp.setOut(new PrintWriter(new OutputStreamWriter(new FileOutputStream(outputPath), "UTF-8")));
String execScript = "abc = '헬로우'\r\n" +
"print \"Printing Korean : \", abc";
interp.exec(execScript);
Doesnt pring the Koren characters correctly. |
|
Date |
User |
Action |
Args |
2021-01-28 07:09:06 | mithunairani | set | recipients:
+ mithunairani |
2021-01-28 07:09:06 | mithunairani | set | messageid: <1611817746.39.0.0853498760325.issue2916@roundup.psfhosted.org> |
2021-01-28 07:09:06 | mithunairani | link | issue2916 messages |
2021-01-28 07:09:06 | mithunairani | create | |
|