Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 \%ã@stdZddlZddd„Zddd„ZGdd „d ejƒZGd d „d ejƒZGd d „d ejƒZGdd„dejƒZdd„Z dS)a Python 'utf-8-sig' Codec This work similar to UTF-8 with the following changes: * On encoding/writing a UTF-8 encoded BOM will be prepended/written as the first three bytes. * On decoding/reading if the first three bytes are a UTF-8 encoded BOM, these bytes will be skipped. éNÚstrictcCstjtj||ƒdt|ƒfS)Nr)ÚcodecsÚBOM_UTF8Ú utf_8_encodeÚlen)ÚinputÚerrors©r ú+/usr/lib64/python3.6/encodings/utf_8_sig.pyÚencodesr cCsDd}|dd…tjkr&|dd…}d}tj||dƒ\}}|||fS)NréT)rrÚ utf_8_decode)rrÚprefixÚoutputÚconsumedr r r Údecodes  rc@s8eZdZddd„Zddd„Zdd„Zd d „Zd d „Zd S)ÚIncrementalEncoderrcCstjj||ƒd|_dS)Né)rrÚ__init__Úfirst)Úselfrr r r rszIncrementalEncoder.__init__FcCs:|jr$d|_tjtj||jƒdStj||jƒdSdS)Nr)rrrrr)rrÚfinalr r r r s zIncrementalEncoder.encodecCstjj|ƒd|_dS)Nr)rrÚresetr)rr r r r's zIncrementalEncoder.resetcCs|jS)N)r)rr r r Úgetstate+szIncrementalEncoder.getstatecCs ||_dS)N)r)rÚstater r r Úsetstate.szIncrementalEncoder.setstateN)r)F)Ú__name__Ú __module__Ú __qualname__rr rrrr r r r rs   rc@s6eZdZd dd„Zdd„Zdd„Zdd „Zd d „Zd S)ÚIncrementalDecoderrcCstjj||ƒd|_dS)Nr)rÚBufferedIncrementalDecoderrr)rrr r r r2szIncrementalDecoder.__init__cCsv|jrht|ƒdkr*tjj|ƒr"dSd|_n>d|_|dd…tjkrhtj|dd…||ƒ\}}||dfStj|||ƒS)Nr Úr)r!r)rrrrÚ startswithr )rrrrrrr r r Ú_buffer_decode6s   z!IncrementalDecoder._buffer_decodecCstjj|ƒd|_dS)Nr)rr rr)rr r r rGs zIncrementalDecoder.resetcCstjj|ƒ}|d|jfS)Nr)rr rr)rrr r r rKs zIncrementalDecoder.getstatecCstjj||ƒ|d|_dS)Nr)rr rr)rrr r r rPszIncrementalDecoder.setstateN)r)rrrrr#rrrr r r r r1s  rc@seZdZdd„Zddd„ZdS)Ú StreamWriterc Cs.tjj|ƒy|`Wntk r(YnXdS)N)rr$rr ÚAttributeError)rr r r rVs  zStreamWriter.resetrcCstj|_t||ƒS)N)rrr )rrrr r r r ]szStreamWriter.encodeN)r)rrrrr r r r r r$Usr$c@seZdZdd„Zddd„ZdS)Ú StreamReaderc Cs.tjj|ƒy|`Wntk r(YnXdS)N)rr&rrr%)rr r r rbs  zStreamReader.resetrcCspt|ƒdkrtjj|ƒr\dSn>|dd…tjkr\tj|_tj|dd…|ƒ\}}||dfStj|_tj||ƒS)Nr r!r)r!r)rrrr"r r)rrrrrr r r ris   zStreamReader.decodeN)r)rrrrrr r r r r&asr&c Cstjdttttttd�S)Nz utf-8-sig)Únamer rÚincrementalencoderÚincrementaldecoderÚ streamreaderÚ streamwriter)rÚ CodecInfor rrrr&r$r r r r Ú getregentryysr-)r)r) Ú__doc__rr rrr rr$r&r-r r r r Ú s  $