3 $c5(@s dddddZGdddZGdddZeZejeddd d ejedd d d ejedddd ejedddd ejedddd ejedddd ejedddd ejedddd ejedd dd ejed d!d"d ejed#d$d%d ejed&d'd(d ejed)d*d+d ejed,d-d.d ejed/dd0d ejed1d2d3d ejed4d5d6d ejed7d8d9d ejed:d;dd ejed?d@dAd ejedBd-dCd ejedDdEdFd ejedGdHdId ejedJdKdLd ejedMd dNd ejedOdPdQd ejedRdSdTd ejedUdVdWd ejedXddYd ejedZd[d\d ejed]d^d_d ejed`dKdad ejedbdcddd ejededfdgd ejedhdidjd ejedkdldmd ejedndodpd ejedqd;drd ejedsd;dtd ejedudidvd ejedwdKdxd ejedydzd{d ejed|dzd}d ejed~ddd ejedddd ejedddd ejedd-dd ejedd-dd ejedd-dd ejeddldd ejedddd ejeddSdd ejeddSdd ejedddd ejedd[dd ejedd$dd ejeddKdd ejedddd ejeddcdd ejedddd ejeddHdd ejedd2dd ejedddd ejeddfdd ejedddd ejedd@dd ejedd^dd ejedd dd ejeddVdd ejedd;dd ejedddd ejeddodd ejedd!dd ejedd^dd ejedddd ejedd8dd ejeddEdd ejeddPdd ejedd*dd ejedd5dd ejedd'dd ejedddd ejedddd ejedddd ejedddd ejedddd ejedddd ejedddd ejeddKdd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^dd ejedd^d d ejed d^d d ejed d^d d ejedd^dd ejeddzdd ejeddzdd ejeddzdd ejeddzdd ejeddzdd ejeddzdd ejeddzdd ejeddzdd ejed dzd!d ejed"dzd#d ejed$dzd%d ejed&dzd'd ejed(dzd)d ejed*dzd+d ejed,dzd-d ejed.dzd/d ejed0dzd1d ejed2dzd3d ejed4dzd5d ejed6dzd7d ejed8dzd9d ejed:dzd;d ejeddzd?d ejed@dAdBd ejedCdAdDd ejedEdAdFd ejedGdzdHd ejZejZdIS(J)!X[c@s4eZdZddZddZeddZeddZd S) CharsetcCs$||||_|_|_|dk|_dS)NYes)idname collation is_default)selfr r r r r6/tmp/pip-target-ebskqzh7/lib/python/pymysql/charset.py__init__szCharset.__init__cCsd|j|j|jfS)Nz%Charset(id=%s, name=%r, collation=%r))r r r )rrrr__repr__ szCharset.__repr__cCs:|j}|d krdS|dkrdS|dkr*dS|dkr6d S|S) Nutf8mb4utf8mb3utf8latin1cp1252koi8rkoi8_rkoi8ukoi8_u)rr)r )rr rrrencodingszCharset.encodingcCs |jdkS)N?)r )rrrr is_binaryszCharset.is_binaryN)__name__ __module__ __qualname__rrpropertyrrrrrrrs rc@s,eZdZddZddZddZddZd S) CharsetscCsi|_i|_dS)N)_by_id_by_name)rrrrr#szCharsets.__init__cCs"||j|j<|jr||j|j<dS)N)r$r r r%r )rcrrradd's z Charsets.addcCs |j|S)N)r$)rr rrrby_id,szCharsets.by_idcCs|jj|jS)N)r%getlower)rr rrrby_name/szCharsets.by_nameN)rr r!rr'r(r+rrrrr#"sr#big5Zbig5_chinese_cir latin2Zlatin2_czech_csZdec8Zdec8_swedish_cicp850Zcp850_general_cirZlatin1_german1_ciZhp8Zhp8_english_cirZkoi8r_general_cirZlatin1_swedish_ci Zlatin2_general_ci Zswe7Zswe7_swedish_ci asciiZascii_general_ci ujisZujis_japanese_ci sjisZsjis_japanese_cicp1251Zcp1251_bulgarian_ciZlatin1_danish_cihebrewZhebrew_general_citis620Ztis620_thai_cieuckrZeuckr_korean_cilatin7Zlatin7_estonian_csZlatin2_hungarian_cirZkoi8u_general_ciZcp1251_ukrainian_cigb2312Zgb2312_chinese_cigreekZgreek_general_cicp1250Zcp1250_general_ciZlatin2_croatian_cigbkZgbk_chinese_cicp1257Zcp1257_lithuanian_cilatin5Zlatin5_turkish_ciZlatin1_german2_ci Zarmscii8Zarmscii8_general_cirrZutf8_general_ci"Zcp1250_czech_cs$cp866Zcp866_general_ci%Zkeybcs2Zkeybcs2_general_ci&ZmacceZmacce_general_ci'macromanZmacroman_general_ci(cp852Zcp852_general_ci)Zlatin7_general_ci*Zlatin7_general_cs+Z macce_bin,Zcp1250_croatian_ci-rZutf8mb4_general_ci.Z utf8mb4_bin/Z latin1_bin0Zlatin1_general_ci1Zlatin1_general_cs2Z cp1251_bin3Zcp1251_general_ci4Zcp1251_general_cs5Z macroman_bin9cp1256Zcp1256_general_ci:Z cp1257_bin;Zcp1257_general_cirbinary@Z armscii8_binAZ ascii_binBZ cp1250_binCZ cp1256_binDZ cp866_binEZdec8_binFZ greek_binGZ hebrew_binHZhp8_binIZ keybcs2_binJZ koi8r_binKZ koi8u_binLZutf8_tolower_ciMZ latin2_binNZ latin5_binOZ latin7_binPZ cp850_binQZ cp852_binRZswe7_binSZutf8_binTZbig5_binUZ euckr_binVZ gb2312_binWZgbk_binrZsjis_binYZ tis620_binrZujis_bin\Zgeostd8Zgeostd8_general_ci]Z geostd8_bin^Zlatin1_spanish_ci_cp932Zcp932_japanese_ci`Z cp932_binaZeucjpmsZeucjpms_japanese_cibZ eucjpms_bincZcp1250_polish_ciZutf8_unicode_ciZutf8_icelandic_ciZutf8_latvian_ciZutf8_romanian_ciZutf8_slovenian_ciZutf8_polish_ciZutf8_estonian_ciZutf8_spanish_ciZutf8_swedish_ciZutf8_turkish_ciZ utf8_czech_ciZutf8_danish_ciZutf8_lithuanian_ciZutf8_slovak_ciZutf8_spanish2_ciZ utf8_roman_ciZutf8_persian_ciZutf8_esperanto_ciZutf8_hungarian_ciZutf8_sinhala_ciZutf8_german2_ciZutf8_croatian_ciZutf8_unicode_520_ciZutf8_vietnamese_ciZutf8_general_mysql500_ciZutf8mb4_unicode_ciZutf8mb4_icelandic_ciZutf8mb4_latvian_ciZutf8mb4_romanian_ciZutf8mb4_slovenian_ciZutf8mb4_polish_ciZutf8mb4_estonian_ciZutf8mb4_spanish_ciZutf8mb4_swedish_ciZutf8mb4_turkish_ciZutf8mb4_czech_ciZutf8mb4_danish_ciZutf8mb4_lithuanian_ciZutf8mb4_slovak_ciZutf8mb4_spanish2_ciZutf8mb4_roman_ciZutf8mb4_persian_ciZutf8mb4_esperanto_ciZutf8mb4_hungarian_ciZutf8mb4_sinhala_ciZutf8mb4_german2_ciZutf8mb4_croatian_ciZutf8mb4_unicode_520_ciZutf8mb4_vietnamese_cigb18030Zgb18030_chinese_ciZ gb18030_binZgb18030_unicode_520_ciZutf8mb4_0900_ai_ciN) ZMBLENGTHrr#Z _charsetsr'r+Zcharset_by_namer(Z charset_by_idrrrrs(