@staticmethod<EOL><INDENT>def Normalize(str_):<DEDENT>
<EOL>if isinstance(str_, bytes):<EOL><INDENT>str_ = str_.decode("<STR_LIT:utf-8>")<EOL><DEDENT>return SASLPREP.prepare(str_).encode("<STR_LIT:utf-8>")<EOL>
The Normalize(str) function.

        This one also accepts Unicode string input (in the RFC only UTF-8
        strings are used).