lmstudio-ai / venvstacks

Virtual environment stacks for Python
http://venvstacks.lmstudio.ai/
MIT License
174 stars 6 forks source link

Force UTF-8 when reading subprocess output #46

Closed ncoghlan closed 4 weeks ago

ncoghlan commented 1 month ago

Subprocess execution was ensuring that Python in the subprocess used UTF-8 encoding for its standard streams, but it wasn't ensuring that the current process also did so when communicating with the subprocess via pipes.

Closes #42