encoding property

encoding property

The encoding used when opening text-based files or email messages such as FileType.csv, FileType.txt, and FileType.msg. Default value is utf-8.

For code example, see the documentation.

Definition:

@property
def encoding(self):
    ...
@encoding.setter
def encoding(self, value):
    ...

See Also