Uname : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
Soft : Apache
Ip : 203.161.60.200
Port : 443
~
/
lib
/
python2.7
/
site-packages
/
kitchen
/
text
[ HOME ]
Exec
Submit
utf8.pyo
� i�:Oc @ s� d Z d d l Z d d l m Z d d l m Z m Z d d l m Z d d l m Z m Z m Z m Z m Z m Z d � Z d � Z d d � Z d e d d d � Z d d d d � Z d � Z d � Z d Z d S( s� ----- UTF-8 ----- Functions for operating on byte :class:`str` encoded as :term:`UTF-8` .. note:: In many cases, it is better to convert to :class:`unicode`, operate on the strings, then convert back to :term:`UTF-8`. :class:`unicode` type can handle many of these functions itself. For those that it doesn't (removing control characters from length calculations, for instance) the code to do so with a :class:`unicode` type is often simpler. .. warning:: All of the functions in this module are deprecated. Most of them have been replaced with functions that operate on unicode values in :mod:`kitchen.text.display`. :func:`kitchen.text.utf8.utf8_valid` has been replaced with a function in :mod:`kitchen.text.misc`. i����N( t b_( t to_unicodet to_bytes( t byte_string_valid_encoding( t _textual_width_let byte_string_textual_width_fillt fillt textual_widtht textual_width_chopt wrapc C s&