You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And required to set the current OS encoding to run the commands child_process.execFile. So, as, it uses the encoding utf8. And starts cmd.exe on Windows, which uses the encoding cp866 in RU-ru localization.
Thanks for the excellent instructions. I have been able to replicate it with the above instructions.
I'm in the process of setting up my PC so I can simulate this issue in VS Code and test this correctly for a release.
Please bear with me for now.
FYI - I'll be releasing a new version without a fix for this, rest assured this is the next thing I'll be working on (already started downloading a 4Gb update to my PC, will take the whole night to run the damn windows update).
Igor Novozhilov (@IgorNovozhilov) I believe I can solve this, by putting a special case for CP866. Will look into #844, as that's a slightly different problem, cuz I'm using a 3rd party library Jedi.
Hi folks!
I took this one on this afternoon, creating a Win7 VM with RU language as the default input, and remove the EN language altogether. I ran the pylint process in the file noted above, and added the TODO line as described.
I cannot seem to get the issue to reproduce. Is there any way one of Igor Novozhilov (@IgorNovozhilov), Don Jayamanne (@DonJayamanne), can get it to repro? Otherwise perhaps this issue has been corrected by something else the team (or the VSCode team) have done.
BTW: I tried to reproduce this on the following environment, in case it makes a difference:
OS: Windows 7 Enterprise [RU_ru]
VSCode: 1.24.0-insider
Python: 3.6.5
Node.js: 8.11.1 LTS
Activity
DonJayamanne commentedon Nov 13, 2017
From Igor Novozhilov (@IgorNovozhilov) on April 6, 2017 20:15
This is in continuation of this issue: https://github.com/DonJayamanne/pythonVSCode/issues/844
DonJayamanne commentedon Nov 13, 2017
From Igor Novozhilov (@IgorNovozhilov) on April 6, 2017 20:33
The problem is that all the methods

open, you must use the parameterencoding. Which indicate the current encoding of the file.DonJayamanne commentedon Nov 13, 2017
From Igor Novozhilov (@IgorNovozhilov) on April 6, 2017 20:51
And required to set the
current OS encodingto run the commandschild_process.execFile. So, as, it uses the encodingutf8. And startscmd.exe on Windows, which uses the encodingcp866inRU-rulocalization.Or you can not use
child_process.execFileandchild_process.exec. And always use 'child_process.spawn', which runs without a flagshelldefault.https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options
DonJayamanne commentedon Nov 13, 2017
Not sure if I follow you here. Why didn't using execFile work, it is using utf8, I thought that would work.
DonJayamanne commentedon Nov 13, 2017
Thanks for your help here
DonJayamanne commentedon Nov 13, 2017
From Igor Novozhilov (@IgorNovozhilov) on April 7, 2017 5:47
Let me demonstrate by the example of the module
iconv-lite.This is a very very old problem of os windows: nodejs/node-v0.x-archive#2190
Example:
DonJayamanne commentedon Nov 13, 2017
Thanks for the excellent instructions. I have been able to replicate it with the above instructions.
I'm in the process of setting up my PC so I can simulate this issue in VS Code and test this correctly for a release.
Please bear with me for now.
FYI - I'll be releasing a new version without a fix for this, rest assured this is the next thing I'll be working on (already started downloading a 4Gb update to my PC, will take the whole night to run the damn windows update).
DonJayamanne commentedon Nov 13, 2017
Managed to replicate in VS Code, now to start fixing this damn issue.
DonJayamanne commentedon Nov 13, 2017
Igor Novozhilov (@IgorNovozhilov) I believe I can solve this, by putting a special case for CP866. Will look into #844, as that's a slightly different problem, cuz I'm using a 3rd party library Jedi.
d3r3kk commentedon May 14, 2018
Hi folks!
I took this one on this afternoon, creating a Win7 VM with RU language as the default input, and remove the EN language altogether. I ran the pylint process in the file noted above, and added the TODO line as described.
I cannot seem to get the issue to reproduce. Is there any way one of Igor Novozhilov (@IgorNovozhilov), Don Jayamanne (@DonJayamanne), can get it to repro? Otherwise perhaps this issue has been corrected by something else the team (or the VSCode team) have done.
BTW: I tried to reproduce this on the following environment, in case it makes a difference:
OS: Windows 7 Enterprise [RU_ru]
VSCode: 1.24.0-insider
Python: 3.6.5
Node.js: 8.11.1 LTS
Thanks!
-Derek Keeler (@d3r3kk)
IgorNovozhilov commentedon May 15, 2018
Yes, do not repeated any more. You can close issue.