Current Path : /usr/local/lib/python2.5/encodings/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/encodings/utf_8_sig.pyc |
³ò h”Rc @ s› d Z d d k Z d d „ Z d d „ Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d „ Z d S( s 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. iÿÿÿÿNt strictc C s' t i t i | | ƒ d t | ƒ f S( Ni ( t codecst BOM_UTF8t utf_8_encodet len( t inputt errors( ( s/ /usr/local/lib/python2.5/encodings/utf_8_sig.pyt encode s c C sW d } | d t i j o | d } d } n t i | | t ƒ \ } } | | | f S( Ni i ( R R t utf_8_decodet True( R R t prefixt outputt consumed( ( s/ /usr/local/lib/python2.5/encodings/utf_8_sig.pyt decode s t IncrementalEncoderc B s) e Z d d „ Z e d „ Z d „ Z RS( R c C s t i i | | ƒ t | _ d S( N( R R t __init__R t first( t selfR ( ( s/ /usr/local/lib/python2.5/encodings/utf_8_sig.pyR s c C sP | i o+ t | _ t i t i | | i ƒ d Sn t i | | i ƒ d Sd S( Ni ( R t FalseR R R R ( R R t final( ( s/ /usr/local/lib/python2.5/encodings/utf_8_sig.pyR s "c C s t i i | ƒ t | _ d S( N( R R t resetR R ( R ( ( s/ /usr/local/lib/python2.5/encodings/utf_8_sig.pyR % s ( t __name__t __module__R R R R ( ( ( s/ /usr/local/lib/python2.5/encodings/utf_8_sig.pyR s t IncrementalDecoderc B s&