非英语字符不会出现在 Visual Studio Code 终端屏幕上
我正在使用最新版本的 Visual Studio Code。我正在尝试调试 python 脚本。我在终端屏幕上看到这样的命令:
PS C:\Users\Özkan TÜZEMEN\Desktop\test> & 'c:\program files\Python\Python310\python.exe' 'c:\Users\zkan TZEMEN\.vscode\extensions\ms-python.python-2022.2.1924087327\pythonFiles\lib\python\debugpy\launcher' '57927' '--' 'c:\Python files\Untitled-1.py'
我看到 Visual Studio Code 忽略非英文字符,并导致 [Errno 2] No such file or directory 错误。
我该如何解决这个问题?
I'm using the latest version of Visual Studio Code. I'm trying to debug a python script. I see on the terminal screen a command like this:
PS C:\Users\Özkan TÜZEMEN\Desktop\test> & 'c:\program files\Python\Python310\python.exe' 'c:\Users\zkan TZEMEN\.vscode\extensions\ms-python.python-2022.2.1924087327\pythonFiles\lib\python\debugpy\launcher' '57927' '--' 'c:\Python files\Untitled-1.py'
I see that Visual Studio Code ignores non English characters and it causes [Errno 2] No such file or directory error.
How can I fix that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为这是不可能的,因为不支持土耳其字母。不过,也许您可以尝试安装新字体,或者使您的程序完整。
I don't think its possible since Turkhis letters are not supported. However maybe u can try to install a new font, or make your program completely.