On Sat, Aug 24, 2013, at 12:47, David M. Cotter wrote: > > What _are_ you using? > i have scripts in a file, that i am invoking into my embedded python > within a C++ program. there is no terminal involved. the "print" > statement has been redirected (via sys.stdout) to my custom print class, > which does not specify "encoding", so i tried the suggestion above to set > it:
That doesn't answer my real question. What does your "custom print class" do with the text? -- http://mail.python.org/mailman/listinfo/python-list