« Previous | Next » 

Revision df455d57

IDdf455d57b3bc59ae3c94bbabcf1dbd0c28df4129

Added by Christos Stavrakakis almost 7 years ago

cyclades: Replace 'uenc' with 'smart_unicode'

Replace use of 'synnefo.util.text.uenc' function with
'django.utils.encoding.smart_unicode'.

'uenc' function depends on the locale category LC_CTYPE, which is not
appropriate for Cyclades API. We explicitly use 'smart_unicode' and
'smart_str' to decode to unicode and encode to bytestrings,
always using utf-8 encoding.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences