From 85add9bb6b68837776b16a63acbdcc3659d3ed8a Mon Sep 17 00:00:00 2001 From: Thorsten Muerell Date: Thu, 9 Nov 2017 13:46:49 +0100 Subject: [PATCH] UTF-8 --- src/sessionmanager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sessionmanager.ts b/src/sessionmanager.ts index d07592c..759937e 100644 --- a/src/sessionmanager.ts +++ b/src/sessionmanager.ts @@ -66,7 +66,7 @@ export class SessionManager { if (javaHome) { java = path.join(javaHome, 'bin', 'java') } - this.dbSession = spawn(java, ['-jar', extPath + '/frog-runner.jar', this.currentConnection.host, this.currentConnection.port.toString(), this.currentConnection.schema, this.currentConnection.username, this.currentConnection.password]); + this.dbSession = spawn(java, ['-Dfile.encoding=UTF-8', '-jar', extPath + '/frog-runner.jar', this.currentConnection.host, this.currentConnection.port.toString(), this.currentConnection.schema, this.currentConnection.username, this.currentConnection.password]); let outputBuffer = "";