Global Settings


Set the byte encoding to assume when processing strings and the encoding to use when converting unicode strings.


Get the mode Urwid is using when processing text strings. Returns ‘narrow’ for 8-bit encodings, ‘wide’ for CJK encodings or ‘utf8’ for UTF-8 encodings.


Return True if python is able to convert non-ascii unicode strings to the current encoding.

Table of contents

Previous topic

Signal Functions

Next topic

Raw Display Attributes

This Page