m
fIc           @   s   d  Z  d k Z d k 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 i   Z e i	 h  d	 d
 <d d <d d <d d <d d <d d <d d <d d < e i
 e  Z d S(   s    Python Character Mapping Codec for KOI8U.

    This character scheme is compliant to RFC2319

Written by Marc-Andre Lemburg (mal@lemburg.com).
Modified by Maxim Dzumanenko <mvd@mylinux.com.ua>.

(c) Copyright 2002, Python Software Foundation.

Nt   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/koi8_u.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   iT  i   iV  i   iW  i   i  i   i  i   i  i   i  i   i  (   t   __doc__R   t   koi8_rR    R   R   R   R   t   copyt   updatet   make_encoding_mapR   (   R   R   R   R    R   R   R   R   (    (    R   t   ?
   s   
	U