
C[c           @   s?!  d  Z  d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z y
 e Z Wn' e	 k
 r d e
 f d     YZ n Xd d d d d	 d
 d d d d d d d d d d d d d d d d d g Z y d d l TWnn e k
 rKd Z d Z d Z d  Z d! Z d" Z d# Z d$ Z e Z d%   Z d d&  Z d'   Z d(   Z n Xe Z i  Z e j e  d)    Z d*   Z  e! d+  Z" d,   Z# e j$ d-  Z% e! e! d.  Z& e! e! d/  Z' e! d0  Z( e) e! e! d1  Z* d2   Z+ e, d3  Z- d4   Z. d5   Z/ e Z0 d6 j1 d7   e2 d8  D  Z3 d9   Z4 d:   Z5 d;   Z6 d<   Z7 dd?  Z8 e d@  Z9 d dA  Z e dB  Z: e j; j< dC  re) dD  Z= n4 y e> Wn e	 k
 re) dE  Z= n Xe) dF  Z= i dG dH 6dG dI 6dJ dK 6dL dM 6dL dN 6dO dP 6dJ dQ 6dJ dR 6dJ dS 6dT dU 6dV dW 6dX dY 6dZ d[ 6d\ d] 6d^ d_ 6d` da 6db dc 6dd de 6df dg 6dh di 6dj dk 6dl dm 6dn do 6dL dp 6dq dr 6ds dt 6dO du 6dv dw 6dx dy 6dz d{ 6d| d} 6Z? iZd~ d 6d~ d 6d~ d 6d~ d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6dG dI 6d d 6d d 6dG d 6dG d 6d d 6dG d 6dG d 6dd6dd6dd6dd6dd6d	d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v6dwdx6dydz6d{d|6d}d~6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6dd6dd6dd6dd6d	d
6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6d!d"6d#d$6d%d&6d'd(6d)d*6d+d,6d-d.6d/d06d1d26d/d36d1d46d5d66d7d86d9d:6d;d<6d=d>6d?d@6dAdB6d?dC6dDdE6dFdG6dHdI6dJdK6dLdM6dNdO6dPdQ6dRdS6dTdU6dVdW6dXdY6dZd[6d\d]6d^d_6d`da6dbdc6ddde6dfdg6dhdi6djdk6dldm6dndo6dpdq6drds6dtdu6dvdw6dxdy6dzd{6d|d}6d~d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6ZA d  ZB y e Wn e	 k
 r!n Xe jC d eD dk r;!dGHHeB   HdGHHe/   n  d S(  s   Locale support.

    The module provides low-level access to the C lib's locale APIs
    and adds high level number formatting APIs as well as a locale
    aliasing engine to complement these.

    The aliasing engine includes support for many commonly used locale
    names and maps them to values suitable for passing to the C lib's
    setlocale() function. It also includes default encodings for all
    supported locale names.

iNt   _unicodec           B   s   e  Z RS(    (   t   __name__t
   __module__(    (    (    s   /usr/lib/python2.7/locale.pyR       s   t	   getlocalet   getdefaultlocalet   getpreferredencodingt   Errort	   setlocalet   resetlocalet
   localeconvt   strcollt   strxfrmt   strt   atoft   atoit   formatt   format_stringt   currencyt	   normalizet   LC_CTYPEt
   LC_COLLATEt   LC_TIMEt   LC_MONETARYt
   LC_NUMERICt   LC_ALLt   CHAR_MAX(   t   *i   i   i   i    i   i   i   i   c           C   s   i d g d 6d d 6d d 6d d 6d d 6g  d 6d d	 6d
 d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6d d 6S(   sd    localeconv() -> dict.
            Returns numeric and monetary locale-specific parameters.
        i   t   groupingt    t   currency_symbolt   n_sign_posnt   p_cs_precedest   n_cs_precedest   mon_groupingt   n_sep_by_spacet   .t   decimal_pointt   negative_signt   positive_signt   p_sep_by_spacet   int_curr_symbolt   p_sign_posnt   thousands_sept   mon_thousands_sept   frac_digitst   mon_decimal_pointt   int_frac_digits(    (    (    (    s   /usr/lib/python2.7/locale.pyR	   ;   s$    c         C   s   | d k r t d  n  d S(   sd    setlocale(integer,string=None) -> string.
            Activates/queries locale processing.
        R   t   Cs*   _locale emulation only supports "C" localeN(   NR   R/   (   t   NoneR   (   t   categoryt   value(    (    s   /usr/lib/python2.7/locale.pyR   S   s    c         C   s   t  |  |  S(   sb    strcoll(string,string) -> int.
            Compares two strings according to the locale.
        (   t   cmp(   t   at   b(    (    s   /usr/lib/python2.7/locale.pyR
   [   s    c         C   s   |  S(   sd    strxfrm(string) -> string.
            Returns a string that behaves for cmp locale-aware.
        (    (   t   s(    (    s   /usr/lib/python2.7/locale.pyR   a   s    c          C   s#   t    }  t r |  j t  n  |  S(   N(   t   _localeconvt   _override_localeconvt   update(   t   d(    (    s   /usr/lib/python2.7/locale.pyR	   n   s    	c         c   sr   d  } xe |  D]] } | t k r# d  S| d k r_ | d  k rJ t d   n  x t r[ | VqM Wn  | V| } q Wd  S(   Ni    s   invalid grouping(   R0   R   t
   ValueErrort   True(   R   t   last_intervalt   interval(    (    s   /usr/lib/python2.7/locale.pyt   _grouping_intervals|   s    	c   
   	   C   s6  t    } | | r d p d } | | r. d p1 d } | sE |  d f S|  d d k rz |  j   } |  t |  } | }  n d } d } g  } xX t |  D]J }	 |  s |  d d	 k r |  } d }  Pn  | j |  |	  |  |	  }  q W|  r | j |   n  | j   | | j |  | t |  t |  d
 f S(   NR+   R*   R!   R   i    it    R   t
   0123456789i   (   R	   t   rstript   lenR?   t   appendt   reverset   join(
   R6   t   monetaryt   convR*   R   t   strippedt   right_spacest   left_spacest   groupsR>   (    (    s   /usr/lib/python2.7/locale.pyt   _group   s0    	
	
c         C   s   d } x. | r6 |  | d k r6 | d 7} | d 8} q	 Wt  |   d } x. | rw |  | d k rw | d 8} | d 8} qJ W|  | | d !S(   Ni    R@   i   (   RC   (   R6   t   amountt   lpost   rpos(    (    s   /usr/lib/python2.7/locale.pyt   _strip_padding   s    

sG   %(?:\((?P<key>.*?)\))?(?P<modifiers>[-#0-9 +*.hlL]*?)[eEfFgGdiouxXcrs%]c         G   sc   t  j |   } | s4 t | j    t |   k rM t d t |     n  t |  | | | |  S(   s   Returns the locale-aware substitution of a %? specifier
    (percent).

    additional is for format strings which contain one or more
    '*' modifiers.sH   format() must be given exactly one %%char format specifier, %s not valid(   t   _percent_ret   matchRC   t   groupR;   t   reprt   _format(   t   percentR2   R   RG   t
   additionalRS   (    (    s   /usr/lib/python2.7/locale.pyR      s
    %c   	      G   s  | r |  | f | } n
 |  | } |  d d k r d } | j  d  } | rr t | d d | \ | d <} n  t   | r d p d } | j |  } | rt | |  } qnR |  d d k rd } | r t | d | \ } } n  | rt | |  } qn  | S(	   Nit   eEfFgGi    R#   RG   R-   R$   t   diu(   t   splitRM   R	   RF   RQ   (	   RW   R2   R   RG   RX   t	   formattedt   sepst   partsR$   (    (    s   /usr/lib/python2.7/locale.pyRV      s(    
#c   	      C   si  t  t j |    } t j d |   } t j |  r g  } x| D]K } | j   d d k ro | j d  qC | j t | j   | |   qC Wn t	 | t
  s | f } n  g  } d } x | D] } | j   d d k r | j d  q | j d  j d  } | j t | j   | | | t | | d | d | !  | d | 7} q Wt
 |  } | | S(   s   Formats a string in the same way that the % formatting would use,
    but takes the current locale into account.
    Grouping is applied if the third parameter is true.s   %sit   %i    t	   modifiersR   i   (   t   listRR   t   finditert   subt   operatort   isMappingTypeRT   RD   R   t
   isinstancet   tuplet   countRV   t   False(	   t   ft   valR   t   percentst   new_ft   new_valt   perct   it	   starcount(    (    s   /usr/lib/python2.7/locale.pyR      s0    &c         C   s  t    } | | r d p d } | d k r: t d   n  t d | t |   | d t } d | d } | r | | r d	 p d
 } | |  d k  r d p d } | |  d k  r d p d }	 | r | |	 r d p d | } q | |	 r d p d | } n  | |  d k  rd pd }
 | |  d k  r/d p2d } |
 d k rSd | d } n~ |
 d k rl| | } ne |
 d k r| | } nL |
 d k r| j d |  } n+ |
 d k r| j d |  } n
 | | } | j d d  j d d  S(   sI   Formats val according to the currency settings
    in the current locale.R.   R,   i   s9   Currency formatting is not possible using the 'C' locale.s   %%.%ifRG   t   <t   >R(   R   i    R    R   R"   R'   R@   R   R   R)   R%   R&   t   (t   )i   i   i   i   (   R	   R;   R   t   absR<   t   replace(   Rk   t   symbolR   t   internationalRH   t   digitsR6   t   smbt   precedest	   separatedt   sign_post   sign(    (    s   /usr/lib/python2.7/locale.pyR      s6    	"
c         C   s   t  d |   S(   s9   Convert float to integer, taking the locale into account.s   %.12g(   R   (   Rk   (    (    s   /usr/lib/python2.7/locale.pyR   -  s    c         C   sZ   t    d } | r( |  j | d  }  n  t    d } | rP |  j | d  }  n  | |   S(   s<   Parses a string as a float according to the locale settings.R*   R   R$   R#   (   R	   Rw   (   t   stringt   funct   tst   dd(    (    s   /usr/lib/python2.7/locale.pyR   1  s    c         C   s   t  |  t  S(   sA   Converts a string to an integer according to the locale settings.(   R   t   int(   R   (    (    s   /usr/lib/python2.7/locale.pyR   >  s    c          C   sU   t  t d  t d d d  }  |  Gd Gt |   GHt d  }  |  Gd Gt |   GHd  S(   NR   s   %di[i   t   isgQ	@(   R   R   R   R   R   R   (   t   s1(    (    s   /usr/lib/python2.7/locale.pyt   _testB  s
    R   c         c   sI   |  ]? } t  | t d   k r: | t d  k r: | d n |  Vq d S(   t   At   Zi    N(   t   chrt   ord(   t   .0t   x(    (    s   /usr/lib/python2.7/locale.pys	   <genexpr>W  s   i   c         C   sm   d |  k r" |  |  j  d   } n |  } t j |  } t j j j | |  } t j | |  } | d | S(   NR#   (   t   indext	   encodingst   normalize_encodingt   aliasest   gett   locale_encoding_alias(   t   codet   encodingt   langnamet   norm_encoding(    (    s   /usr/lib/python2.7/locale.pyt   _replace_encoding[  s    			c   	      C   s  t  |  t  r! |  j d  }  n  |  j t  } d | k rQ | j d d  } n  d | k rx | j d d  \ } } n d } d | k r | j d  d  \ } } n | } d } | } | r | j d d  } | j d	 d  } | d | 7} n  | } | r| d | 7} n  t j | d
  } | d
 k	 r2| S| rt j | d
  } | d
 k	 rd | k rn| d | S| j d d  d j t  | k r| Sqn  | r| } | r| d | 7} n  t j | d
  } | d
 k	 r$d | k rt
 | |  S| j d d  \ } } t
 | |  d | S| rt j | d
  } | d
 k	 rd | k rit
 | |  d | S| j d d  \ } } | j t  | k rt
 | |  d | Sqqn  |  S(   s   Returns a normalized locale code for the given locale
        name.

        The returned locale code is formatted for use with
        setlocale().

        If normalization fails, the original name is returned
        unchanged.

        If the given encoding is not known, the function defaults to
        the default encoding for the locale code just like setlocale()
        does.

    t   asciit   :R#   t   @i   R   i   t   -t   _N(   Rf   R    t   encodet	   translatet   _ascii_lower_mapRw   R[   t   locale_aliasR   R0   R   (	   t
   localenameR   t   modifierR   R   t   lang_encR   t   lookup_namet   defmod(    (    s   /usr/lib/python2.7/locale.pyR   k  sb    %
c         C   s   t  |   } d | k rU | j d d  \ } } | d k rU d | k rU | d f Sn  d | k rx t | j d  d   S| d k r d
 St d |   d	 S(   s   Parses the locale code for localename and returns the
        result as tuple (language code, encoding).

        The localename is normalized and passed through the locale
        alias engine. A ValueError is raised in case the locale name
        cannot be parsed.

        The language code corresponds to RFC 1766.  code and encoding
        can be None in case the values cannot be determined or are
        unknown to this implementation.

    R   i   t   euroR#   s   iso-8859-15i   R/   s   unknown locale: %sN(   NN(   R   R[   Rg   R0   R;   (   R   R   R   (    (    s   /usr/lib/python2.7/locale.pyt   _parse_localename  s    c         C   sA   |  \ } } | d k r! d } n  | d k r1 | S| d | Sd S(   s    Builds a locale code from the given tuple (language code,
        encoding).

        No aliasing or normalizing takes place.

    R/   R#   N(   R0   (   t   localetuplet   languageR   (    (    s   /usr/lib/python2.7/locale.pyt   _build_localename  s    	t   LANGt   LANGUAGEc         C   s   y" d d l  } | j   \ } } Wn t t f k
 r; nK Xt j d k r| | r| | d  d k r| t j t | d   } n  | | f Sd d l	 } | j
 j } xO |  D]A } | | d  } | r | d k r | j d  d } n  Pq q Wd	 } t |  S(
   s   Tries to determine the default locale settings and returns
        them as tuple (language code, encoding).

        According to POSIX, a program which has not called
        setlocale(LC_ALL, "") runs using the portable 'C' locale.
        Calling setlocale(LC_ALL, "") lets it use the default locale as
        defined by the LANG variable. Since we don't want to interfere
        with the current locale setting we thus emulate the behavior
        in the way described above.

        To maintain compatibility with other platforms, not only the
        LANG variable is tested, but a list of variables given as
        envvars parameter. The first found to be defined will be
        used. envvars defaults to the search path used in GNU gettext;
        it must always contain the variable name 'LANG'.

        Except for the code 'C', the language code corresponds to RFC
        1766.  code and encoding can be None in case the values cannot
        be determined.

    iNt   win32i   t   0xi    R   R   R/   (   t   _localet   _getdefaultlocalet   ImportErrort   AttributeErrort   syst   platformt   windows_localeR   R   t   ost   environR0   R[   R   (   t   envvarsR   R   R   R   t   lookupt   variableR   (    (    s   /usr/lib/python2.7/locale.pyR     s$    %
c         C   s:   t  |   } |  t k r0 d | k r0 t d  n  t |  S(   sp   Returns the current setting for the given locale category as
        tuple (language code, encoding).

        category may be one of the LC_* value except LC_ALL. It
        defaults to LC_CTYPE.

        Except for the code 'C', the language code corresponds to RFC
        1766.  code and encoding can be None in case the values cannot
        be determined.

    t   ;s    category LC_ALL is not supported(   t
   _setlocaleR   t	   TypeErrorR   (   R1   R   (    (    s   /usr/lib/python2.7/locale.pyR   "  s    c         C   s@   | r3 t  |  t  d  k	 r3 t t |   } n  t |  |  S(   s^   Set the locale for the given category.  The locale can be
        a string, an iterable of two strings (language code and encoding),
        or None.

        Iterables are converted to strings using the locale aliasing
        engine.  Locale strings are passed directly to the C lib.

        category may be given as one of the LC_* values.

    R   (   t   typeR   R   R   (   R1   t   locale(    (    s   /usr/lib/python2.7/locale.pyR   4  s    c         C   s   t  |  t t     d S(   s    Sets the locale for category to the default setting.

        The default setting is determined by calling
        getdefaultlocale(). category defaults to LC_ALL.

    N(   R   R   R   (   R1   (    (    s   /usr/lib/python2.7/locale.pyR   E  s    t   winc         C   s   d d l  } | j   d S(   s1   Return the charset that the user is likely using.iNi   (   R   R   (   t   do_setlocaleR   (    (    s   /usr/lib/python2.7/locale.pyR   Q  s    c         C   s   t    d S(   sb   Return the charset that the user is likely using,
            by looking at environment variables.i   (   R   (   R   (    (    s   /usr/lib/python2.7/locale.pyR   [  s    c         C   sb   |  rT t  t  } y t  t d  Wn t k
 r6 n Xt t  } t  t |  | St t  Sd S(   sd   Return the charset that the user is likely using,
            according to the system configuration.R   N(   R   R   R   t   nl_langinfot   CODESET(   R   t   oldloct   result(    (    s   /usr/lib/python2.7/locale.pyR   `  s    R/   t   437t   cs	   ISO8859-1t   ent   JIS7t   jist   jis7t   eucJPt   ajecR   t   latin_1t	   iso8859_1s
   ISO8859-10t
   iso8859_10s
   ISO8859-11t
   iso8859_11s
   ISO8859-13t
   iso8859_13s
   ISO8859-14t
   iso8859_14s
   ISO8859-15t
   iso8859_15s
   ISO8859-16t
   iso8859_16s	   ISO8859-2t	   iso8859_2s	   ISO8859-3t	   iso8859_3s	   ISO8859-4t	   iso8859_4s	   ISO8859-5t	   iso8859_5s	   ISO8859-6t	   iso8859_6s	   ISO8859-7t	   iso8859_7s	   ISO8859-8t	   iso8859_8s	   ISO8859-9t	   iso8859_9t
   iso2022_jpt   SJISt	   shift_jist   TACTISt   tactist   euc_jpt   eucKRt   euc_krs   UTF-8t   utf_8s   KOI8-Rt   koi8_rs   KOI8-Ut   koi8_us   az_AZ.KOI8-Ct   a3t   a3_azs   a3_az.koi8cs
   a3_az.koics   af_ZA.ISO8859-1t   aft   af_zas   af_za.iso88591s   am_ET.UTF-8t   amt   am_ets   en_US.ISO8859-1t   americans   american.iso88591s   ar_AA.ISO8859-6t   art   ar_aas   ar_aa.iso88596s   ar_AE.ISO8859-6t   ar_aes   ar_ae.iso88596s   ar_BH.ISO8859-6t   ar_bhs   ar_bh.iso88596s   ar_DZ.ISO8859-6t   ar_dzs   ar_dz.iso88596s   ar_EG.ISO8859-6t   ar_egs   ar_eg.iso88596s   ar_IN.UTF-8t   ar_ins   ar_IQ.ISO8859-6t   ar_iqs   ar_iq.iso88596s   ar_JO.ISO8859-6t   ar_jos   ar_jo.iso88596s   ar_KW.ISO8859-6t   ar_kws   ar_kw.iso88596s   ar_LB.ISO8859-6t   ar_lbs   ar_lb.iso88596s   ar_LY.ISO8859-6t   ar_lys   ar_ly.iso88596s   ar_MA.ISO8859-6t   ar_mas   ar_ma.iso88596s   ar_OM.ISO8859-6t   ar_oms   ar_om.iso88596s   ar_QA.ISO8859-6t   ar_qas   ar_qa.iso88596s   ar_SA.ISO8859-6t   ar_sas   ar_sa.iso88596s   ar_SD.ISO8859-6t   ar_sds   ar_sd.iso88596s   ar_SY.ISO8859-6t   ar_sys   ar_sy.iso88596s   ar_TN.ISO8859-6t   ar_tns   ar_tn.iso88596s   ar_YE.ISO8859-6t   ar_yes   ar_ye.iso88596t   arabics   arabic.iso88596s   as_IN.UTF-8t   ast   as_ins   az_AZ.ISO8859-9Et   azt   az_azs   az_az.iso88599es   be_BY.CP1251t   bes   be_BY.UTF-8@latins   be@latint   be_bys   be_by.cp1251s   be_by.microsoftcp1251s   be_by.utf8@latins   be_by@latins   bg_BG.CP1251t   bgt   bg_bgs   bg_bg.cp1251s   bg_BG.ISO8859-5s   bg_bg.iso88595s   bg_BG.KOI8-Rs   bg_bg.koi8rs   bg_bg.microsoftcp1251s   bn_IN.UTF-8t   bn_ins   bo_IN.UTF-8t   bo_ins   nb_NO.ISO8859-1t   bokmals   bokmls   br_FR.ISO8859-1t   brt   br_frs   br_fr.iso88591s   br_FR.ISO8859-14s   br_fr.iso885914s   br_FR.ISO8859-15s   br_fr.iso885915s   br_fr.iso885915@euros   br_FR.UTF-8s   br_fr.utf8@euros
   br_fr@euros   bs_BA.ISO8859-2t   bst   bs_bas   bs_ba.iso88592t	   bulgarians   fr_CA.ISO8859-1s   c-frenchs   c-french.iso88591s   c.asciis   c.ens
   c.iso88591t   c_cs   c_c.cs   ca_ES.ISO8859-1t   cas   ca_AD.ISO8859-1t   ca_ads   ca_ad.iso88591s   ca_AD.ISO8859-15s   ca_ad.iso885915s   ca_ad.iso885915@euros   ca_AD.UTF-8s   ca_ad.utf8@euros
   ca_ad@eurot   ca_ess   ca_es.iso88591s   ca_ES.ISO8859-15s   ca_es.iso885915s   ca_es.iso885915@euros   ca_ES.UTF-8s   ca_es.utf8@euros
   ca_es@euros   ca_FR.ISO8859-1t   ca_frs   ca_fr.iso88591s   ca_FR.ISO8859-15s   ca_fr.iso885915s   ca_fr.iso885915@euros   ca_FR.UTF-8s   ca_fr.utf8@euros
   ca_fr@euros   ca_IT.ISO8859-1t   ca_its   ca_it.iso88591s   ca_IT.ISO8859-15s   ca_it.iso885915s   ca_it.iso885915@euros   ca_IT.UTF-8s   ca_it.utf8@euros
   ca_it@eurot   catalant   cextends
   cextend.ens   zh_CN.eucCNs	   chinese-ss   zh_TW.eucTWs	   chinese-ts   hr_HR.ISO8859-2t   croatians   cs_CZ.ISO8859-2t   cst   cs_css   cs_cs.iso88592t   cs_czs   cs_cz.iso88592s   cy_GB.ISO8859-1t   cyt   cy_gbs   cy_gb.iso88591s   cy_GB.ISO8859-14s   cy_gb.iso885914s   cy_GB.ISO8859-15s   cy_gb.iso885915s
   cy_gb@eurot   czt   cz_czt   czechs   da_DK.ISO8859-1t   das   da_DK.ISO8859-15s   da.iso885915t   da_dks   da_dk.88591s   da_dk.885915s   da_dk.iso88591s   da_dk.iso885915s
   da_dk@eurot   danishs   danish.iso88591t   dansks   de_DE.ISO8859-1t   des   de_DE.ISO8859-15s   de.iso885915s   de_AT.ISO8859-1t   de_ats   de_at.iso88591s   de_AT.ISO8859-15s   de_at.iso885915s   de_at.iso885915@euros   de_AT.UTF-8s   de_at.utf8@euros
   de_at@euros   de_BE.ISO8859-1t   de_bes   de_be.iso88591s   de_BE.ISO8859-15s   de_be.iso885915s   de_be.iso885915@euros   de_BE.UTF-8s   de_be.utf8@euros
   de_be@euros   de_CH.ISO8859-1t   de_chs   de_ch.iso88591s   de_CH.ISO8859-15s   de_ch.iso885915s
   de_ch@eurot   de_des   de_de.88591s   de_de.885915s   de_de.885915@euros   de_de.iso88591s   de_de.iso885915s   de_de.iso885915@euros   de_DE.UTF-8s   de_de.utf8@euros
   de_de@euros   de_LU.ISO8859-1t   de_lus   de_lu.iso88591s   de_LU.ISO8859-15s   de_lu.iso885915s   de_lu.iso885915@euros   de_LU.UTF-8s   de_lu.utf8@euros
   de_lu@eurot   deutschs   nl_NL.ISO8859-1t   dutchs   nl_BE.ISO8859-1s   dutch.iso88591s   ee_EE.ISO8859-4t   eet   ee_ees   ee_ee.iso88594s   et_EE.ISO8859-1t   eestis   el_GR.ISO8859-7t   elt   el_grs   el_gr.iso88597s   el_GR.ISO8859-15s
   el_gr@euros   en.iso88591s   en_AU.ISO8859-1t   en_aus   en_au.iso88591s   en_BE.ISO8859-1t   en_bes   en_BE.ISO8859-15s
   en_be@euros   en_BW.ISO8859-1t   en_bws   en_bw.iso88591s   en_CA.ISO8859-1t   en_cas   en_ca.iso88591s   en_GB.ISO8859-1t   en_gbs   en_gb.88591s   en_gb.iso88591s   en_GB.ISO8859-15s   en_gb.iso885915s
   en_gb@euros   en_HK.ISO8859-1t   en_hks   en_hk.iso88591s   en_IE.ISO8859-1t   en_ies   en_ie.iso88591s   en_IE.ISO8859-15s   en_ie.iso885915s   en_ie.iso885915@euros   en_IE.UTF-8s   en_ie.utf8@euros
   en_ie@euros   en_IN.ISO8859-1t   en_ins   en_NZ.ISO8859-1t   en_nzs   en_nz.iso88591s   en_PH.ISO8859-1t   en_phs   en_ph.iso88591s   en_SG.ISO8859-1t   en_sgs   en_sg.iso88591t   en_ukt   en_uss   en_us.88591s   en_US.ISO8859-15s   en_us.885915s   en_us.iso88591s   en_us.iso885915s   en_us.iso885915@euros
   en_us@euros   en_us@euro@euros   en_ZA.ISO8859-1t   en_zas   en_za.88591s   en_za.iso88591s   en_ZA.ISO8859-15s   en_za.iso885915s
   en_za@euros   en_ZW.ISO8859-1t   en_zws   en_zw.iso88591t   eng_gbs   eng_gb.8859s   en_EN.ISO8859-1t   englishs   english.iso88591t
   english_uks   english_uk.8859s   english_united-statess   english_united-states.437t
   english_uss   english_us.8859s   english_us.asciis   eo_XX.ISO8859-3t   eos   eo_EO.ISO8859-3t   eo_eos   eo_eo.iso88593t   eo_xxs   eo_xx.iso88593s   es_ES.ISO8859-1t   ess   es_AR.ISO8859-1t   es_ars   es_ar.iso88591s   es_BO.ISO8859-1t   es_bos   es_bo.iso88591s   es_CL.ISO8859-1t   es_cls   es_cl.iso88591s   es_CO.ISO8859-1t   es_cos   es_co.iso88591s   es_CR.ISO8859-1t   es_crs   es_cr.iso88591s   es_DO.ISO8859-1t   es_dos   es_do.iso88591s   es_EC.ISO8859-1t   es_ecs   es_ec.iso88591t   es_ess   es_es.88591s   es_es.iso88591s   es_ES.ISO8859-15s   es_es.iso885915s   es_es.iso885915@euros   es_ES.UTF-8s   es_es.utf8@euros
   es_es@euros   es_GT.ISO8859-1t   es_gts   es_gt.iso88591s   es_HN.ISO8859-1t   es_hns   es_hn.iso88591s   es_MX.ISO8859-1t   es_mxs   es_mx.iso88591s   es_NI.ISO8859-1t   es_nis   es_ni.iso88591s   es_PA.ISO8859-1t   es_pas   es_pa.iso88591s   es_PA.ISO8859-15s   es_pa.iso885915s
   es_pa@euros   es_PE.ISO8859-1t   es_pes   es_pe.iso88591s   es_PE.ISO8859-15s   es_pe.iso885915s
   es_pe@euros   es_PR.ISO8859-1t   es_prs   es_pr.iso88591s   es_PY.ISO8859-1t   es_pys   es_py.iso88591s   es_PY.ISO8859-15s   es_py.iso885915s
   es_py@euros   es_SV.ISO8859-1t   es_svs   es_sv.iso88591s   es_SV.ISO8859-15s   es_sv.iso885915s
   es_sv@euros   es_US.ISO8859-1t   es_uss   es_us.iso88591s   es_UY.ISO8859-1t   es_uys   es_uy.iso88591s   es_UY.ISO8859-15s   es_uy.iso885915s
   es_uy@euros   es_VE.ISO8859-1t   es_ves   es_ve.iso88591s   es_VE.ISO8859-15s   es_ve.iso885915s
   es_ve@eurot   estonians   et_EE.ISO8859-15t   ett   et_ees   et_ee.iso88591s   et_EE.ISO8859-13s   et_ee.iso885913s   et_ee.iso885915s   et_EE.ISO8859-4s   et_ee.iso88594s
   et_ee@euros   eu_ES.ISO8859-1t   eut   eu_ess   eu_es.iso88591s   eu_ES.ISO8859-15s   eu_es.iso885915s   eu_es.iso885915@euros   eu_ES.UTF-8s   eu_es.utf8@euros
   eu_es@euros   fa_IR.UTF-8t   fat   fa_irs   fa_IR.ISIRI-3342s   fa_ir.isiri3342s   fi_FI.ISO8859-15t   fis   fi.iso885915t   fi_fis   fi_FI.ISO8859-1s   fi_fi.88591s   fi_fi.iso88591s   fi_fi.iso885915s   fi_fi.iso885915@euros   fi_FI.UTF-8s   fi_fi.utf8@euros
   fi_fi@eurot   finnishs   finnish.iso88591s   fo_FO.ISO8859-1t   fot   fo_fos   fo_fo.iso88591s   fo_FO.ISO8859-15s   fo_fo.iso885915s
   fo_fo@euros   fr_FR.ISO8859-1t   frs   fr_FR.ISO8859-15s   fr.iso885915s   fr_BE.ISO8859-1t   fr_bes   fr_be.88591s   fr_be.iso88591s   fr_BE.ISO8859-15s   fr_be.iso885915s   fr_be.iso885915@euros   fr_BE.UTF-8s   fr_be.utf8@euros
   fr_be@eurot   fr_cas   fr_ca.88591s   fr_ca.iso88591s   fr_CA.ISO8859-15s   fr_ca.iso885915s
   fr_ca@euros   fr_CH.ISO8859-1t   fr_chs   fr_ch.88591s   fr_ch.iso88591s   fr_CH.ISO8859-15s   fr_ch.iso885915s
   fr_ch@eurot   fr_frs   fr_fr.88591s   fr_fr.iso88591s   fr_fr.iso885915s   fr_fr.iso885915@euros   fr_FR.UTF-8s   fr_fr.utf8@euros
   fr_fr@euros   fr_LU.ISO8859-1t   fr_lus   fr_lu.88591s   fr_lu.iso88591s   fr_LU.ISO8859-15s   fr_lu.iso885915s   fr_lu.iso885915@euros   fr_LU.UTF-8s   fr_lu.utf8@euros
   fr_lu@euros   franaist   fre_frs   fre_fr.8859t   frenchs   french.iso88591t   french_frances   french_france.8859s   ga_IE.ISO8859-1t   gat   ga_ies   ga_ie.iso88591s   ga_IE.ISO8859-14s   ga_ie.iso885914s   ga_IE.ISO8859-15s   ga_ie.iso885915s   ga_ie.iso885915@euros   ga_IE.UTF-8s   ga_ie.utf8@euros
   ga_ie@euros   gl_ES.ISO8859-1t   galegot   galicians   gd_GB.ISO8859-1t   gdt   gd_gbs   gd_gb.iso88591s   gd_GB.ISO8859-14s   gd_gb.iso885914s   gd_GB.ISO8859-15s   gd_gb.iso885915s
   gd_gb@eurot   ger_des   ger_de.8859t   germans   german.iso88591t   german_germanys   german_germany.8859t   glt   gl_ess   gl_es.iso88591s   gl_ES.ISO8859-15s   gl_es.iso885915s   gl_es.iso885915@euros   gl_ES.UTF-8s   gl_es.utf8@euros
   gl_es@eurot   greeks   greek.iso88597s   gu_IN.UTF-8t   gu_ins   gv_GB.ISO8859-1t   gvt   gv_gbs   gv_gb.iso88591s   gv_GB.ISO8859-14s   gv_gb.iso885914s   gv_GB.ISO8859-15s   gv_gb.iso885915s
   gv_gb@euros   he_IL.ISO8859-8t   het   he_ils   he_IL.CP1255s   he_il.cp1255s   he_il.iso88598s   he_il.microsoftcp1255t   hebrews   hebrew.iso88598s   hi_IN.ISCII-DEVt   hit   hi_ins   hi_in.isciidevs   hne_IN.UTF-8t   hnet   hne_int   hrt   hr_hrs   hr_hr.iso88592t   hrvatskis   hu_HU.ISO8859-2t   hut   hu_hus   hu_hu.iso88592t	   hungarians   is_IS.ISO8859-1t	   icelandics   icelandic.iso88591s   id_ID.ISO8859-1t   idt   id_idt   int   in_idR   t   is_iss   is_is.iso88591s   is_IS.ISO8859-15s   is_is.iso885915s
   is_is@euros
   iso-8859-1s   iso-8859-15s	   iso8859-1s
   iso8859-15t
   iso_8859_1t   iso_8859_15s   it_IT.ISO8859-1t   its   it_IT.ISO8859-15s   it.iso885915s   it_CH.ISO8859-1t   it_chs   it_ch.iso88591s   it_CH.ISO8859-15s   it_ch.iso885915s
   it_ch@eurot   it_its   it_it.88591s   it_it.iso88591s   it_it.iso885915s   it_it.iso885915@euros   it_IT.UTF-8s   it_it.utf8@euros
   it_it@eurot   italians   italian.iso88591s   iu_CA.NUNACOM-8t   iut   iu_cas   iu_ca.nunacom8t   iwt   iw_ils   iw_il.iso88598s   ja_JP.eucJPt   jas
   ja_JP.JIS7s   ja.jiss
   ja_JP.SJISs   ja.sjist   ja_jps
   ja_jp.ajecs	   ja_jp.eucs   ja_jp.eucjps   ja_jp.iso-2022-jps   ja_jp.iso2022jps	   ja_jp.jiss
   ja_jp.jis7s   ja_jp.mscodes	   ja_jp.pcks
   ja_jp.sjiss
   ja_jp.ujist   japant   japaneses   japanese-eucs   japanese.eucs   japanese.sjist   jp_jps   ka_GE.GEORGIAN-ACADEMYt   kat   ka_ges   ka_ge.georgianacademys   ka_GE.GEORGIAN-PSs   ka_ge.georgianpss   ka_ge.georgianrss   kl_GL.ISO8859-1t   klt   kl_gls   kl_gl.iso88591s   kl_GL.ISO8859-15s   kl_gl.iso885915s
   kl_gl@euros   km_KH.UTF-8t   km_khs   kn_IN.UTF-8t   knt   kn_ins   ko_KR.eucKRt   kot   ko_krs	   ko_kr.eucs   ko_kr.euckrt   koreans
   korean.eucs   ks_IN.UTF-8t   kst   ks_ins   ks_IN.UTF-8@devanagaris   ks_in@devanagaris   kw_GB.ISO8859-1t   kwt   kw_gbs   kw_gb.iso88591s   kw_GB.ISO8859-14s   kw_gb.iso885914s   kw_GB.ISO8859-15s   kw_gb.iso885915s
   kw_gb@euros   ky_KG.UTF-8t   kyt   ky_kgs   lt_LT.ISO8859-13t
   lithuanians   lo_LA.MULELAO-1t   lot   lo_las   lo_LA.IBM-CP1133s   lo_la.cp1133s   lo_la.ibmcp1133s   lo_la.mulelao1t   ltt   lt_lts   lt_lt.iso885913s   lt_LT.ISO8859-4s   lt_lt.iso88594s   lv_LV.ISO8859-13t   lvt   lv_lvs   lv_lv.iso885913s   lv_LV.ISO8859-4s   lv_lv.iso88594s   mai_IN.UTF-8t   mait   mai_ins   mi_NZ.ISO8859-1t   mit   mi_nzs   mi_nz.iso88591s   mk_MK.ISO8859-5t   mkt   mk_mks   mk_MK.CP1251s   mk_mk.cp1251s   mk_mk.iso88595s   mk_mk.microsoftcp1251s   ml_IN.UTF-8t   mlt   ml_ins   mr_IN.UTF-8t   mrt   mr_ins   ms_MY.ISO8859-1t   mst   ms_mys   ms_my.iso88591s   mt_MT.ISO8859-3t   mtt   mt_mts   mt_mt.iso88593t   nbt   nb_nos   nb_no.88591s   nb_no.iso88591s   nb_NO.ISO8859-15s   nb_no.iso885915s
   nb_no@euros   ne_NP.UTF-8t   ne_npt   nls   nl_NL.ISO8859-15s   nl.iso885915t   nl_bes   nl_be.88591s   nl_be.iso88591s   nl_BE.ISO8859-15s   nl_be.iso885915s   nl_be.iso885915@euros   nl_BE.UTF-8s   nl_be.utf8@euros
   nl_be@eurot   nl_nls   nl_nl.88591s   nl_nl.iso88591s   nl_nl.iso885915s   nl_nl.iso885915@euros   nl_NL.UTF-8s   nl_nl.utf8@euros
   nl_nl@euros   nn_NO.ISO8859-1t   nnt   nn_nos   nn_no.88591s   nn_no.iso88591s   nn_NO.ISO8859-15s   nn_no.iso885915s
   nn_no@euros   no_NO.ISO8859-1t   nos   ny_NO.ISO8859-1s
   no@nynorskt   no_nos   no_no.88591s   no_no.iso88591s   no_NO.ISO8859-15s   no_no.iso885915s   no_no.iso88591@bokmals   no_no.iso88591@nynorsks
   no_no@eurot	   norwegians   norwegian.iso88591s   nr_ZA.ISO8859-1t   nrt   nr_zas   nr_za.iso88591s   nso_ZA.ISO8859-15t   nsot   nso_zas   nso_za.iso885915t   nyt   ny_nos   ny_no.88591s   ny_no.iso88591s   ny_NO.ISO8859-15s   ny_no.iso885915s
   ny_no@eurot   nynorsks   oc_FR.ISO8859-1t   oct   oc_frs   oc_fr.iso88591s   oc_FR.ISO8859-15s   oc_fr.iso885915s
   oc_fr@euros   or_IN.UTF-8t   ort   or_ins   pa_IN.UTF-8t   pat   pa_ins   pd_US.ISO8859-1t   pds   pd_DE.ISO8859-1t   pd_des   pd_de.iso88591s   pd_DE.ISO8859-15s   pd_de.iso885915s
   pd_de@eurot   pd_uss   pd_us.iso88591s   pd_US.ISO8859-15s   pd_us.iso885915s
   pd_us@euros   ph_PH.ISO8859-1t   pht   ph_phs   ph_ph.iso88591s   pl_PL.ISO8859-2t   plt   pl_pls   pl_pl.iso88592t   polishs   pt_PT.ISO8859-1t
   portugueses   portuguese.iso88591s   pt_BR.ISO8859-1t   portuguese_brazils   portuguese_brazil.8859t   posixs
   posix-utf2s   pp_AN.ISO8859-1t   ppt   pp_ans   pp_an.iso88591t   pts   pt_PT.ISO8859-15s   pt.iso885915t   pt_brs   pt_br.88591s   pt_br.iso88591s   pt_BR.ISO8859-15s   pt_br.iso885915s
   pt_br@eurot   pt_pts   pt_pt.88591s   pt_pt.iso88591s   pt_pt.iso885915s   pt_pt.iso885915@euros   pt_PT.UTF-8s   pt_pt.utf8@euros
   pt_pt@euros   ro_RO.ISO8859-2t   rot   ro_ros   ro_ro.iso88592t   romanians   ru_RU.UTF-8t   rus   ru_RU.KOI8-Rs   ru.koi8rt   ru_rus   ru_RU.CP1251s   ru_ru.cp1251s   ru_RU.ISO8859-5s   ru_ru.iso88595s   ru_ru.koi8rs   ru_ru.microsoftcp1251s   ru_UA.KOI8-Ut   ru_uas   ru_UA.CP1251s   ru_ua.cp1251s   ru_ua.koi8us   ru_ua.microsoftcp1251t   rumaniant   russians   rw_RW.ISO8859-1t   rwt   rw_rws   rw_rw.iso88591s   sd_IN.UTF-8t   sds   sd_IN.UTF-8@devanagaris   sd@devanagarit   sd_ins   sd_in@devanagaris   se_NO.UTF-8t   se_nos   sr_RS.UTF-8@latint   serbocroatiant   shs   sr_CS.ISO8859-2s   sh_ba.iso88592@bosnias   sh_HR.ISO8859-2t   sh_hrs   sh_hr.iso88592t   sh_spt   sh_yus   si_LK.UTF-8t   sit   si_lkt   sinhalas   sk_SK.ISO8859-2t   skt   sk_sks   sk_sk.iso88592s   sl_SI.ISO8859-2t   sls   sl_CS.ISO8859-2t   sl_cst   sl_sis   sl_si.iso88592t   slovakt   slovenet	   slovenians   sr_CS.ISO8859-5t   spt   sp_yut   spanishs   spanish.iso88591t   spanish_spains   spanish_spain.8859s   sq_AL.ISO8859-2t   sqt   sq_als   sq_al.iso88592s   sr_RS.UTF-8t   srs   sr@cyrillics   sr@latins   sr_CS.UTF-8@latins   sr@latns   sr_CS.UTF-8t   sr_css   sr_cs.iso88592s   sr_cs.iso88592@latns   sr_cs.iso88595s   sr_cs.utf8@latns
   sr_cs@latns   sr_ME.UTF-8t   sr_met   sr_rss   sr_rs.utf8@latns   sr_rs@latins
   sr_rs@latnt   sr_spt   sr_yus   sr_CS.CP1251s   sr_yu.cp1251@cyrillics   sr_yu.iso88592s   sr_yu.iso88595s   sr_yu.iso88595@cyrillics   sr_yu.microsoftcp1251@cyrillics   sr_yu.utf8@cyrillics   sr_yu@cyrillics   ss_ZA.ISO8859-1t   sst   ss_zas   ss_za.iso88591s   st_ZA.ISO8859-1t   stt   st_zas   st_za.iso88591s   sv_SE.ISO8859-1t   svs   sv_SE.ISO8859-15s   sv.iso885915s   sv_FI.ISO8859-1t   sv_fis   sv_fi.iso88591s   sv_FI.ISO8859-15s   sv_fi.iso885915s   sv_fi.iso885915@euros   sv_FI.UTF-8s   sv_fi.utf8@euros
   sv_fi@eurot   sv_ses   sv_se.88591s   sv_se.iso88591s   sv_se.iso885915s
   sv_se@eurot   swedishs   swedish.iso88591s   ta_IN.TSCII-0t   tat   ta_ins   ta_in.tsciis   ta_in.tscii0s   te_IN.UTF-8t   tes   tg_TJ.KOI8-Ct   tgt   tg_tjs   tg_tj.koi8cs   th_TH.ISO8859-11t   tht   th_ths   th_th.iso885911s   th_TH.TIS620s   th_th.tactiss   th_th.tis620t   thais   tl_PH.ISO8859-1t   tlt   tl_phs   tl_ph.iso88591s   tn_ZA.ISO8859-15t   tnt   tn_zas   tn_za.iso885915s   tr_TR.ISO8859-9t   trt   tr_trs   tr_tr.iso88599s   ts_ZA.ISO8859-1R   t   ts_zas   ts_za.iso88591s   tt_RU.TATAR-CYRt   ttt   tt_rus   tt_RU.KOI8-Cs   tt_ru.koi8cs   tt_ru.tatarcyrt   turkishs   turkish.iso88599s   uk_UA.KOI8-Ut   ukt   uk_uas   uk_UA.CP1251s   uk_ua.cp1251s   uk_UA.ISO8859-5s   uk_ua.iso88595s   uk_ua.koi8us   uk_ua.microsoftcp1251s   en_US.UTF-8t   univt	   universals   universal.utf8@ucs4s   ur_PK.CP1256t   urs   ur_IN.UTF-8t   ur_int   ur_pks   ur_pk.cp1256s   ur_pk.microsoftcp1256s   uz_UZ.UTF-8t   uzt   uz_uzs   uz_UZ.ISO8859-1s   uz_uz.iso88591s   uz_uz.utf8@cyrillics   uz_uz@cyrillics   ve_ZA.UTF-8t   vet   ve_zas
   vi_VN.TCVNt   vit   vi_vns
   vi_vn.tcvns   vi_vn.tcvn5712s   vi_VN.VISCIIs   vi_vn.visciis   vi_vn.viscii111s   wa_BE.ISO8859-1t   wat   wa_bes   wa_be.iso88591s   wa_BE.ISO8859-15s   wa_be.iso885915s   wa_be.iso885915@euros
   wa_be@euros   xh_ZA.ISO8859-1t   xht   xh_zas   xh_za.iso88591s   yi_US.CP1255t   yit   yi_uss   yi_us.cp1255s   yi_us.microsoftcp1255t   zhs   zh_CN.gb2312t   zh_cns
   zh_TW.big5s
   zh_cn.big5s	   zh_cn.eucs   zh_CN.gb18030s   zh_cn.gb18030s   zh_cn.gb2312s	   zh_CN.gbks	   zh_cn.gbks   zh_HK.big5hkscst   zh_hks
   zh_HK.big5s
   zh_hk.big5s   zh_hk.big5hks   zh_hk.big5hkscst   zh_tws
   zh_tw.big5s	   zh_tw.eucs   zh_tw.euctws   zu_ZA.ISO8859-1t   zut   zu_zas   zu_za.iso88591t   af_ZAi6  t   sq_ALi  t   gsw_FRi  t   am_ETi^  t   ar_SAi  t   ar_IQi  t   ar_EGi  t   ar_LYi  t   ar_DZi  t   ar_MAi  t   ar_TNi  t   ar_OMi   t   ar_YEi$  t   ar_SYi(  t   ar_JOi,  t   ar_LBi0  t   ar_KWi4  t   ar_AEi8  t   ar_BHi<  t   ar_QAi@  t   hy_AMi+  t   as_INiM  t   az_AZi,  i,  t   ba_RUim  t   eu_ESi-  t   be_BYi#  t   bn_INiE  t   bs_BAi   i  t   br_FRi~  t   bg_BGi  t   ca_ESi  t   zh_CHSt   zh_TWi  t   zh_CNi  t   zh_HKi  t   zh_SGi  t   zh_MOi  t   zh_CHTi|  t   co_FRi  t   hr_HRi  t   hr_BAi  t   cs_CZi  t   da_DKi  t   gbz_AFi  t   div_MVie  t   nl_NLi  t   nl_BEi  t   en_USi	  t   en_GBi	  t   en_AUi	  t   en_CAi	  t   en_NZi	  t   en_IEi	  t   en_ZAi	  t   en_JAi	   t   en_CBi	$  t   en_BZi	(  t   en_TTi	,  t   en_ZWi	0  t   en_PHi	4  t   en_INi	@  t   en_MYi	D  i	H  t   et_EEi%  t   fo_FOi8  t   fil_PHid  t   fi_FIi  t   fr_FRi  t   fr_BEi  t   fr_CAi  t   fr_CHi  t   fr_LUi  t   fr_MCi  t   fy_NLib  t   gl_ESiV  t   ka_GEi7  t   de_DEi  t   de_CHi  t   de_ATi  t   de_LUi  t   de_LIi  t   el_GRi  t   kl_GLio  t   gu_INiG  t   ha_NGih  t   he_ILi  t   hi_INi9  t   hu_HUi  t   is_ISi  t   id_IDi!  t   iu_CAi]  i]  t   ga_IEi<  t   it_ITi  t   it_CHi  t   ja_JPi  t   kn_INiK  t   kk_KZi?  t   kh_KHiS  t   qut_GTi  t   rw_RWi  t   kok_INiW  t   ko_KRi  t   ky_KGi@  t   lo_LAiT  t   lv_LVi&  t   lt_LTi'  t   dsb_DEi.  t   lb_LUin  t   mk_MKi/  t   ms_MYi>  t   ms_BNi>  t   ml_INiL  t   mt_MTi:  t   mi_NZi  t   arn_CLiz  t   mr_INiN  t   moh_CAi|  t   mn_MNiP  t   mn_CNiP  t   ne_NPia  t   nb_NOi  t   nn_NOi  t   oc_FRi  t   or_INiH  t   ps_AFic  t   fa_IRi)  t   pl_PLi  t   pt_BRi  t   pt_PTi  t   pa_INiF  t   quz_BOik  t   quz_ECik  t   quz_PEik  t   ro_ROi  t   rm_CHi  t   ru_RUi  t   smn_FIi;$  t   smj_NOi;  t   smj_SEi;  t   se_NOi;  t   se_SEi;  t   se_FIi;  t   sms_FIi;   t   sma_NOi;  t   sma_SEi;  t   sa_INiO  t   sr_SPi  t   sr_BAi  i  i  t   si_LKi[  t   ns_ZAil  t   tn_ZAi2  t   sk_SKi  t   sl_SIi$  t   es_ESi
  t   es_MXi
  i
  t   es_GTi
  t   es_CRi
  t   es_PAi
  t   es_DOi
  t   es_VEi
   t   es_COi
$  t   es_PEi
(  t   es_ARi
,  t   es_ECi
0  t   es_CLi
4  t   es_URi
8  t   es_PYi
<  t   es_BOi
@  t   es_SVi
D  t   es_HNi
H  t   es_NIi
L  t   es_PRi
P  t   es_USi
T  t   sw_KEiA  t   sv_SEi  t   sv_FIi  t   syr_SYiZ  t   tg_TJi(  t   tmz_DZi_  t   ta_INiI  t   tt_RUiD  t   te_INiJ  t   th_THi  t   bo_BTiQ  t   bo_CNiQ  t   tr_TRi  t   tk_TMiB  t   ug_CNi  t   uk_UAi"  t   wen_DEi.  t   ur_PKi   t   ur_INi   t   uz_UZiC  iC  t   vi_VNi*  t   cy_GBiR  t   wo_SNi  t   xh_ZAi4  t   sah_RUi  t   ii_CNix  t   yo_NGij  t   zu_ZAi5  c          C   s  i  }  |  d  } |   |  d =d GHd d GHt    \ } } d G| pJ d GHd G| pY d GHHd	 GHd d GHxT |  j   D]F \ } } | Gd
 GHt |  \ } } d G| p d GHd G| p d GHHqw WHd GHd d GHt   xT |  j   D]F \ } } | Gd
 GHt |  \ } } d G| pd GHd G| p'd GHHq Wy t t d  Wn d GHd GHd GHng XHd GHd d GHxT |  j   D]F \ } } | Gd
 GHt |  \ } } d G| pd GHd G| pd GHHqtWd S(   s    Test function.
    c         S   sA   x: t    j   D]) \ } } | d  d k r | |  | <q q Wd  S(   Ni   t   LC_(   t   globalst   items(   t
   categoriest   kt   v(    (    s   /usr/lib/python2.7/locale.pyt   _init_categoriesX  s    R   s4   Locale defaults as determined by getdefaultlocale():R   iH   s
   Language: s   (undefined)s
   Encoding: s   Locale settings on startup:s   ...s      Language: s      Encoding: s,   Locale settings after calling resetlocale():R   s   NOTE:s9   setlocale(LC_ALL, "") does not support the default locales&   given in the OS environment variables.s4   Locale settings after calling setlocale(LC_ALL, ""):N(   R   R  R   R   R   R   (   R  R   t   langt   enct   nameR1   (    (    s   /usr/lib/python2.7/locale.pyt   _print_localeS  sV    								t   LC_MESSAGESt   __main__s   Locale aliasing:s   Number formatting:(   s   LC_ALLs   LC_CTYPER   s   LANGUAGE(E   t   __doc__R   R   t   encodings.aliasest   reRd   t	   functoolst   unicodeR    t	   NameErrort   objectt   __all__R   R   R   R   R   R   R%  R   R   R   R;   R   R	   R0   R   R
   R   R7   R8   t   wrapsR?   Ri   RM   RQ   t   compileRR   R   RV   R   R<   R   R   t   floatR   R   R   R   RF   t   rangeR   R   R   R   R   R   R   R   R   t
   startswithR   R   R   R   R   R$  RD   R   (    (    (    s   /usr/lib/python2.7/locale.pyt   <module>   s6	  
					"-					T		5

r

	: