<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Does someone know if there's a way to explicitly set the stdout/stderr/<br>stdin
<br>encoding that python should use?<br><br>The encoding can be set using the C API for file objects - from Python<br>code, use ctypes:<br><br></blockquote></div><br>Yeap, but that would leave me with the original problem: I need to run a script to run the original script I want to run...(and not being compatible with other python implementations). Isn't there any way to set that externally (like environment variable, args to the interpreter or anything else like that)?
<br><br>Thanks,<br><br>Fabio<br>