[Openmcl-devel] Is this a bug, or am I doing something wrong?
Ron Garret
ron at flownet.com
Sat Mar 16 14:12:28 PDT 2013
Never mind. The answer turns out to be:
(setenv "PYTHONIOENCODING" "utf-8")
On Mar 16, 2013, at 2:08 PM, Ron Garret wrote:
> [ron at mighty:~]$ python -c 'import sys; print sys.stdout.encoding'
> UTF-8
> [ron at mighty:~]$ ccl
> Welcome to Clozure Common Lisp Version 1.9-dev-r15769M-trunk (DarwinX8664)!
> ?
> (let ((p (run-program "python" '("-c" "import sys; print sys.stdout.encoding")
> :output :stream :external-format :utf-8)))
> (read-line (external-process-output-stream p)))
> "None"
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
More information about the Openmcl-devel
mailing list