PyDocs

Nav

Binary Data Services

normalize_encoding

encodings

function (source)
  • normalize_encoding(encoding)
Normalize an encoding name.

Normalization works as follows: all non-alphanumeric
characters except the dot used for Python package names are
collapsed and replaced with a single underscore, e.g. '  -;#'
becomes '_'. Leading and trailing underscores are removed.

Note that encoding names should be ASCII only.
0 Examples
No examples for encodings/normalize_encoding.
See Also
No see-alsos for encodings/normalize_encoding
0 Notes
No notes for normalize_encoding