Skip to content

Instantly share code, notes, and snippets.

@SamsadSajid
Created May 31, 2017 04:33
Show Gist options
  • Save SamsadSajid/4cb39460c50b077f800ced8d0792d132 to your computer and use it in GitHub Desktop.
Save SamsadSajid/4cb39460c50b077f800ced8d0792d132 to your computer and use it in GitHub Desktop.
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'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment