rs_rich.ext.encoding¶ Generated from the type stubs by scripts/gen_python_api.py; do not edit. rs_rich.ext.encoding: strict, explicit text decoding (rich_ext::encoding). No Rich counterpart: this is the port's own rs-rich-ext crate. decode module-attribute ¶ decode = decode_text EncodingError ¶ Bases: ExtError decode_text ¶ decode_text(data: Any, encoding: Any) -> Any has_utf16_bom ¶ has_utf16_bom(data: Any) -> Any