Trees | Indices | Help |
|
---|
|
Functions to make unicode handling easier for Python 2.X.
Functions | |||
|
|||
|
|||
|
Variables | |
__package__ =
|
Imports: sys
Function Details |
Convert string-like objects to unicode. The general idea is that, as soon as data comes into your program, you call u() on it to make sure it is unicode. Note: u() should be idempotent: i.e. u(u(x)) == u(x) |
Encode unicode into a bytestring, for printing. The idea is that, just before you print anything, you call e() on the data to be printed. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Sep 22 04:25:02 2011 | http://epydoc.sourceforge.net |