PyUnicode_AsEncodedString

Encodes a Unicode object and returns the result as Python string object.

Meta