What is the difference between encoding utf-8 and utf8 in Python 3.5?
What is the difference between encoding utf-8 and utf8 in Python 3.5? Question: What is the difference between encoding utf-8 and utf8 (if there is any)? Given the following example: u = u’€’ print(‘utf-8’, u.encode(‘utf-8’)) print(‘utf8 ‘, u.encode(‘utf8′)) It produces the following output: utf-8 b’xe2x82xac’ utf8 b’xe2x82xac’ Asked By: bastelflp || Source Answers: There’s no …