mς
­fIc           @   s«   d  Z  d k Z d k l Z d e i f d     YZ d e e i f d     YZ d e e i f d     YZ d	   Z e i   Z e i	 h  d
 d < e i e  Z d S(   sβ    Python Character Mapping Codec for TIS-620.

    According to
    ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-11.TXT the
    TIS-620 is the identical to ISO_8859-11 with the 0xA0 (no-break
    space) mapping removed.

N(   s   decoding_mapt   Codecc           B   s    t  Z d d  Z d d  Z RS(   Nt   strictc         C   s   t  i | | t  S(   N(   t   codecst   charmap_encodet   inputt   errorst   encoding_map(   t   selfR   R   (    (    t.   /mit/python/lib/python2.4/encodings/tis_620.pyt   encode   s    c         C   s   t  i | | t  S(   N(   R   t   charmap_decodeR   R   t   decoding_map(   R   R   R   (    (    R   t   decode   s    (   t   __name__t
   __module__R	   R   (    (    (    R   R       s   t   StreamWriterc           B   s   t  Z RS(   N(   R   R   (    (    (    R   R      s   t   StreamReaderc           B   s   t  Z RS(   N(   R   R   (    (    (    R   R      s   c           C   s   t    i t    i t t f S(   N(   R    R	   R   R   R   (    (    (    R   t   getregentry!   s    i    (   t   __doc__R   t   encodings.iso8859_11R   R    R   R   R   t   copyt   updatet   Nonet   make_encoding_mapR   (   R   R   R    R   R   R   R   (    (    R   t   ?   s   	
	