Name
getdefaultencoding
Synopsis
getdefaultencoding( )
Returns the name of the default codec used to encode and decode
Unicode and string objects (normally 'ascii
').
Unicode, codecs, encoding, and decoding are covered in Chapter 9.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.