Skip to content

Commit 006f9d3

Browse files
Specify utf-8 as the encoding used for communication with OmniSharp
1 parent 1f7ff07 commit 006f9d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/omnisharp/server.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ export abstract class OmnisharpServer {
249249
let args = [
250250
'-s', solutionPath,
251251
'--hostPID', process.pid.toString(),
252-
'DotNet:enablePackageRestore=false'
252+
'DotNet:enablePackageRestore=false',
253+
'--encoding', 'utf-8'
253254
];
254255

255256
if (options.loggingLevel === 'verbose') {

0 commit comments

Comments
 (0)