SamsadSajid
5/31/2017 - 4:33 AM

From http://nullege.com/codes/search/six.text_type

unicode(object='') -> unicode object
unicode(string[, encoding[, errors]]) -> unicode object

Create a new Unicode object from the given encoded string.
encoding defaults to the current default string encoding.
errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.