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 = "";