Keith MacDonald wrote:
> I am considering embedding Python in a C++ application, which works
> internally in UTF-16. The only API I can find for running scripts is
> PyRun_SimpleString(const char*). Does that mean that Python is unable to
> execute scripts containing characters from more than one code page?
reading PEP 263 might help:
http://www.python.org/peps/pep-0263.html
(summary: encode as utf-8, prepend "# coding: utf-8\n", and you're done)
</F>
--
http://mail.python.org/mailman/listinfo/python-list