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¡ e ed¬d]d­ƒ¡ e ed®dd¯ƒ¡ e ed°dUd±ƒ¡ e ed²d:d³ƒ¡ e ed´ddµƒ¡ e ed¶dnd·ƒ¡ e ed¸d d¹ƒ¡ e edºd]d»ƒ¡ e ed¼dd½ƒ¡ e ed¾d7d¿ƒ¡ e edÀdDdÁƒ¡ e edÂdOdÃƒ¡ e edÄd)dÅƒ¡ e edÆd4dÇƒ¡ e edÈd&dÉƒ¡ e edÊdËdÌd
ƒ¡ e edÍdËdÎƒ¡ e edÏddÐƒ¡ e edÑdÒdÓd
ƒ¡ e edÔdÒdÕƒ¡ e edÖd×dØd
ƒ¡ e edÙd×dÚƒ¡ e edÛdJdÜƒ¡ e edÝd]dÞƒ¡ e edßd]dàƒ¡ e edád]dâƒ¡ e edãd]däƒ¡ e edåd]dæƒ¡ e edçd]dèƒ¡ e edéd]dêƒ¡ e edëd]dìƒ¡ e edíd]dîƒ¡ e edïd]dðƒ¡ e edñd]dòƒ¡ e edód]dôƒ¡ e edõd]döƒ¡ e ed÷d]døƒ¡ e edùd]dúƒ¡ e edûd]düƒ¡ e edýd]dþƒ¡ e edÿd]d ƒ¡ e edd]dƒ¡ e edd]dƒ¡ e edd]dƒ¡ e edd]dƒ¡ e ed	d]d
ƒ¡ e edd]dƒ¡ e edd]dƒ¡ e eddydƒ¡ e eddydƒ¡ e eddydƒ¡ e eddydƒ¡ e eddydƒ¡ e eddydƒ¡ e eddydƒ¡ e eddydƒ¡ e eddyd ƒ¡ e ed!dyd"ƒ¡ e ed#dyd$ƒ¡ e ed%dyd&ƒ¡ e ed'dyd(ƒ¡ e ed)dyd*ƒ¡ e ed+dyd,ƒ¡ e ed-dyd.ƒ¡ e ed/dyd0ƒ¡ e ed1dyd2ƒ¡ e ed3dyd4ƒ¡ e ed5dyd6ƒ¡ e ed7dyd8ƒ¡ e ed9dyd:ƒ¡ e ed;dyd<ƒ¡ e ed=dyd>ƒ¡ e ed?d@dAd
ƒ¡ e edBd@dCƒ¡ e edDd@dEƒ¡ e edFdydGƒ¡ dHS (I  é   é   é   )é   é!   éX   é[   c                   @   s6   e Zd Zddd„Zdd„ Zedd„ ƒZedd	„ ƒZd
S )ÚCharsetFc                 C   s    |||| _ | _| _|| _d S ©N)ÚidÚnameÚ	collationÚ
is_default)Úselfr
   r   r   r   © r   úM/home/air/shanriGPT/back/venv/lib/python3.10/site-packages/pymysql/charset.pyÚ__init__   s   
zCharset.__init__c                 C   s   d| j › d| j›d| j›dS )NzCharset(id=z, name=z, collation=ú))r
   r   r   ©r   r   r   r   Ú__repr__   s   ÿzCharset.__repr__c                 C   s:   | j }|dv r	dS |dkrdS |dkrdS |dkrdS |S )	N)Úutf8mb4Úutf8mb3Úutf8Úlatin1Úcp1252Úkoi8rÚkoi8_rÚkoi8uÚkoi8_u)r   ©r   r   r   r   r   Úencoding   s   zCharset.encodingc                 C   s
   | j dkS )Né?   )r
   r   r   r   r   Ú	is_binary   s   
zCharset.is_binaryN)F)Ú__name__Ú
__module__Ú__qualname__r   r   Úpropertyr   r!   r   r   r   r   r      s    

r   c                   @   s,   e Zd Zdd„ Zdd„ Zdd„ Zdd„ Zd	S )
ÚCharsetsc                 C   s   i | _ i | _d S r	   )Ú_by_idÚ_by_namer   r   r   r   r   #   s   
zCharsets.__init__c                 C   s&   || j |j< |jr|| j|j< d S d S r	   )r'   r
   r   r(   r   )r   Úcr   r   r   Úadd'   s   ÿzCharsets.addc                 C   s
   | j | S r	   )r'   )r   r
   r   r   r   Úby_id,   s   
zCharsets.by_idc                 C   s   |dkrd}| j  | ¡ ¡S )Nr   r   )r(   ÚgetÚlowerr   r   r   r   Úby_name/   s   zCharsets.by_nameN)r"   r#   r$   r   r*   r+   r.   r   r   r   r   r&   "   s
    r&   Úbig5Úbig5_chinese_ciTÚlatin2Úlatin2_czech_csÚdec8Údec8_swedish_cié   Úcp850Úcp850_general_cié   r   Úlatin1_german1_cié   Úhp8Úhp8_english_cié   r   Úkoi8r_general_cir   Úlatin1_swedish_cié	   Úlatin2_general_cié
   Úswe7Úswe7_swedish_cié   ÚasciiÚascii_general_cié   ÚujisÚujis_japanese_cié   ÚsjisÚsjis_japanese_cié   Úcp1251Úcp1251_bulgarian_cié   Úlatin1_danish_cié   ÚhebrewÚhebrew_general_cié   Útis620Útis620_thai_cié   ÚeuckrÚeuckr_korean_cié   Úlatin7Úlatin7_estonian_csé   Úlatin2_hungarian_cié   r   Úkoi8u_general_cié   Úcp1251_ukrainian_cié   Úgb2312Úgb2312_chinese_cié   ÚgreekÚgreek_general_cié   Úcp1250Úcp1250_general_cié   Úlatin2_croatian_cié   ÚgbkÚgbk_chinese_cié   Úcp1257Úcp1257_lithuanian_cié   Úlatin5Úlatin5_turkish_cié   Úlatin1_german2_cié    Úarmscii8Úarmscii8_general_cir   r   Úutf8mb3_general_cié"   Úcp1250_czech_csé$   Úcp866Úcp866_general_cié%   Úkeybcs2Úkeybcs2_general_cié&   ÚmacceÚmacce_general_cié'   ÚmacromanÚmacroman_general_cié(   Úcp852Úcp852_general_cié)   Úlatin7_general_cié*   Úlatin7_general_csé+   Ú	macce_biné,   Úcp1250_croatian_cié-   r   Úutf8mb4_general_cié.   Úutf8mb4_biné/   Ú
latin1_biné0   Úlatin1_general_cié1   Úlatin1_general_csé2   Ú
cp1251_biné3   Úcp1251_general_cié4   Úcp1251_general_csé5   Úmacroman_biné9   Úcp1256Úcp1256_general_cié:   Ú
cp1257_biné;   Úcp1257_general_cir    Úbinaryé@   Úarmscii8_binéA   Ú	ascii_binéB   Ú
cp1250_binéC   Ú
cp1256_binéD   Ú	cp866_binéE   Údec8_binéF   Ú	greek_binéG   Ú
hebrew_binéH   Úhp8_binéI   Úkeybcs2_binéJ   Ú	koi8r_binéK   Ú	koi8u_binéL   Úutf8mb3_tolower_ciéM   Ú
latin2_binéN   Ú
latin5_binéO   Ú
latin7_binéP   Ú	cp850_binéQ   Ú	cp852_binéR   Úswe7_binéS   Úutf8mb3_binéT   Úbig5_binéU   Ú	euckr_binéV   Ú
gb2312_binéW   Úgbk_binr   Úsjis_binéY   Ú
tis620_binr   Úujis_biné\   Úgeostd8Úgeostd8_general_cié]   Úgeostd8_biné^   Úlatin1_spanish_cié_   Úcp932Úcp932_japanese_cié`   Ú	cp932_binéa   ÚeucjpmsÚeucjpms_japanese_ciéb   Úeucjpms_binéc   Úcp1250_polish_ciéÀ   Úutf8mb3_unicode_ciéÁ   Úutf8mb3_icelandic_ciéÂ   Úutf8mb3_latvian_ciéÃ   Úutf8mb3_romanian_ciéÄ   Úutf8mb3_slovenian_ciéÅ   Úutf8mb3_polish_ciéÆ   Úutf8mb3_estonian_ciéÇ   Úutf8mb3_spanish_ciéÈ   Úutf8mb3_swedish_ciéÉ   Úutf8mb3_turkish_ciéÊ   Úutf8mb3_czech_ciéË   Úutf8mb3_danish_ciéÌ   Úutf8mb3_lithuanian_ciéÍ   Úutf8mb3_slovak_ciéÎ   Úutf8mb3_spanish2_ciéÏ   Úutf8mb3_roman_ciéÐ   Úutf8mb3_persian_ciéÑ   Úutf8mb3_esperanto_ciéÒ   Úutf8mb3_hungarian_ciéÓ   Úutf8mb3_sinhala_ciéÔ   Úutf8mb3_german2_ciéÕ   Úutf8mb3_croatian_ciéÖ   Úutf8mb3_unicode_520_cié×   Úutf8mb3_vietnamese_ciéß   Úutf8mb3_general_mysql500_ciéà   Úutf8mb4_unicode_ciéá   Úutf8mb4_icelandic_ciéâ   Úutf8mb4_latvian_ciéã   Úutf8mb4_romanian_ciéä   Úutf8mb4_slovenian_ciéå   Úutf8mb4_polish_ciéæ   Úutf8mb4_estonian_ciéç   Úutf8mb4_spanish_ciéè   Úutf8mb4_swedish_ciéé   Úutf8mb4_turkish_ciéê   Úutf8mb4_czech_ciéë   Úutf8mb4_danish_ciéì   Úutf8mb4_lithuanian_ciéí   Úutf8mb4_slovak_ciéî   Úutf8mb4_spanish2_ciéï   Úutf8mb4_roman_ciéð   Úutf8mb4_persian_ciéñ   Úutf8mb4_esperanto_ciéò   Úutf8mb4_hungarian_ciéó   Úutf8mb4_sinhala_ciéô   Úutf8mb4_german2_ciéõ   Úutf8mb4_croatian_ciéö   Úutf8mb4_unicode_520_cié÷   Úutf8mb4_vietnamese_ciéø   Úgb18030Úgb18030_chinese_ciéù   Úgb18030_binéú   Úgb18030_unicode_520_ciéÿ   Úutf8mb4_0900_ai_ciN)	ÚMBLENGTHr   r&   Ú	_charsetsr.   Úcharset_by_namer+   Úcharset_by_idr*   r   r   r   r   Ú<module>   s,  