Kitchen.text: unicode and utf8 and xml oh my! — kitchen 1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- kitchen 1.1.1 documentation »
- Kitchen API »

# Kitchen.text: unicode and utf8 and xml oh my!

The kitchen.text module contains functions that deal with text manipulation.

- Kitchen.text.converters
  - Byte Strings and Unicode in Python2
  - Strategy for Explicit Conversion
    - When to use an alternate strategy
  - Gotchas and how to avoid them
    - str(obj)
    - print
    - Unicode, str, and dict keys
- Functions
  - Unicode and byte str conversion
  - Transformation to XML
  - Working with exception messages
- Format Text for Display
- Internal Data
- Miscellaneous functions for manipulating text
- UTF-8

`converters`
  deals with converting text for different encodings and to and from XML
`display`
  deals with issues with printing text to a screen
`misc`
  is a catchall for text manipulation functions that don’t seem to fit elsewhere
`utf8`
  contains deprecated functions to manipulate utf8 byte strings

### Navigation

- index
- modules |
- next |
- previous |
- kitchen 1.1.1 documentation »
- Kitchen API »