Python Embedding and pep-0263

Peter Jakubik peter.jakubik at stonline.sk
Tue Nov 30 04:37:42 EST 2004


Hi
I am embedding Python 2.3.3 in C++ under Win2k. I am using in my App only
Python DLL and empty site.py (so that User doesn't have to install Python). The
Python Scripts contains Non-ASCII characters and i get DeprecationWarning
pep-0263.
How can i set Python File encoding from C-Code before Script starts ?

Any help would be appreciated.

peter



More information about the Python-list mailing list