def get_native_encoding_type():
 if (sys.maxunicode == 65535):
  return 'UTF16'
 else:
  return 'UTF32'

def get_native_encoding_type ( ) : if ( sys . maxunicode == 65535 ) : return 'UTF16' else : return 'UTF32'
returns the encoding type that matches pythons native strings .