(text)
return ''.join(['&#%s;' % ord(c) for c in text])
Converts the message to Decimal NCR format.
        This is different from HTML escaping. For this
        we need each character to be represented by
        its character code, even if it's an ASCII character
        like a space.
Converts the message to Decimal NCR format.
        This is different from HTML escaping. For this
        we need each character to be represented by
        its character code, even if it's an ASCII character
        like a space.
Converts the message to Decimal NCR format . This is different from HTML escaping . For this we need each character to be represented by its character code even if it s an ASCII character like a space .
def unicode_to_decimal_ncr(text):
        """
        Converts the message to Decimal NCR format.
        This is different from HTML escaping. For this
        we need each character to be represented by
        its character code, even if it's an ASCII character
        like a space.
        """
        return ''.join(['&#%s;' % ord(c) for c in text])
def unicode_to_decimal_ncr ( text ) : return '' . join ( [ '&#%s;' % ord ( c ) for c in text ] )