The utf module

The utf module contains a class dedicated to converting UTF strings into ASCII strings.

The Utf class

Inheritance diagram of pysiriproxy.utf.Utf

class pysiriproxy.utf.Utf[source]

The Utf class provides a dictionary of UTF strings that should be replaced with ASCII equivalent strings.

Replacements

The Replacements property contains a dictionary mapping UTF strings to the ASCII equivalent strings which they will be replaced with.

classmethod replaceUtf(utfString)[source]

Replace all of the UTF strings in the Replacements property with their ASCII equivalent strings.

  • utfString – The string containing UTF characters

Table Of Contents

Previous topic

The testSupport module

Next topic

The interpreter module

This Page