can't get utf8 / unicode strings from embedded python

random832 at fastmail.us random832 at fastmail.us
Sat Aug 24 20:01:35 EDT 2013


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?



More information about the Python-list mailing list