Searched refs:encoding2 (Results 1 – 3 of 3) sorted by relevance
12 def compare_codecs(encoding1, encoding2): argument14 print('Comparing encoding/decoding of %r and %r' % (encoding1, encoding2))24 c2 = u.encode(encoding2)39 u2 = c.decode(encoding2)
49 char *encoding2 = _PyMem_RawStrdup(encoding); in _Py_SetFileSystemEncoding() local50 if (encoding2 == NULL) { in _Py_SetFileSystemEncoding()56 PyMem_RawFree(encoding2); in _Py_SetFileSystemEncoding()62 Py_FileSystemDefaultEncoding = encoding2; in _Py_SetFileSystemEncoding()
699 int desclen, vallen, encoding1, encoding2, encoding; in add_comment_tag() local725 encoding2 = id3v2_tag_string_encoding (id3v2tag, val); in add_comment_tag()726 encoding = MAX (encoding1, encoding2); in add_comment_tag()