Kitchen.text: unicode and utf8 and xml oh my!¶
The kitchen.text module contains functions that deal with text manipulation.
- Kitchen.text.converters
- Functions
- Format Text for Display
textual_width()textual_width_chop()textual_width_fill()wrap()fill()byte_string_textual_width_fill()- Internal Data
- Miscellaneous functions for manipulating text
byte_string_valid_encoding()byte_string_valid_xml()guess_encoding()html_entities_unescape()isbasestring()isbytestring()isunicodestring()process_control_chars()str_eq()- UTF-8
utf8_text_fill()utf8_text_wrap()utf8_valid()utf8_width()utf8_width_chop()utf8_width_fill()
convertersdeals with converting text for different encodings and to and from XML
displaydeals with issues with printing text to a screen
miscis a catchall for text manipulation functions that don’t seem to fit elsewhere
utf8contains deprecated functions to manipulate utf8 byte strings