jeudi 25 octobre 2018

Hosto get real string from python c-api to python script?

Y try send a string from c++ to python string using:

PyUnicode_FromString("/abc/def.html/a%22.php?abc=&def=%22;%00s%01");

But in script the string is bad:

/abc/def.html/a              bogus %pp?abc=&def=                    %;(null)%

What happened?, Python c-api need translate the charset from unicode?

Aucun commentaire:

Enregistrer un commentaire