createTerminal does not set the code point of the windows process to utf8, even though it expects the terminal to write utf8 #195916
Labels
terminal-conpty
Integrated terminal issues related to the ConPTY backend
terminal-rendering
upstream
Issue identified as 'upstream' component related (exists outside of VS Code)
windows
VS Code on Windows issues
Does this issue occur when all extensions are disabled?: No (but I did disable all the other ones)
Steps to Reproduce:
As I understand it:
LANG: en_US.UTF-8
)The actual bigger case is a java program that uses jline to make a REPL. As java picks up the code page from the windows kernel call, it sets up
System.out
withCP437
encoding. Later jline picks up theen_US.UTF-8
but also picks up theCP437
encoding. Now stuff gets messy.My proposal would be at the very least to have an option for
createTerminal
to change the code page (instead of only settingen_US.UTF-8
). And I'm not sure, but doing this by default might also change some of the encoding issues I see around emoji's in windows terminals.[edit]
I've been doing some further reading, these discussions might be related:
The text was updated successfully, but these errors were encountered: