int PyRun_SimpleString(const char *command)
is the function which can run a command of Python.
I call this function in my program, but how can I specify the encoding of the command
argument. I found that Python 3 seems to use UTF-8 as the default encoding when I run a command. Can I change this encoding in the C level API? ...or with an extra parameter when call PyRun_SimpleString
-like function?