Searched refs:c_encoding (Results 1 – 1 of 1) sorted by relevance
20 char *c_encoding; /* source encoding */ member226 c.c_encoding = "utf-8"; in PyAST_FromNode()232 c.c_encoding = STR(n); in PyAST_FromNode()235 c.c_encoding = NULL; in PyAST_FromNode()3518 return decode_unicode(c, s, len, rawmode, c->c_encoding); in parsestr()3521 need_encoding = (c->c_encoding != NULL && in parsestr()3522 strcmp(c->c_encoding, "utf-8") != 0 && in parsestr()3523 strcmp(c->c_encoding, "iso-8859-1") != 0); in parsestr()3535 v = PyUnicode_AsEncodedString(u, c->c_encoding, NULL); in parsestr()3545 need_encoding ? c->c_encoding : NULL); in parsestr()