diff --git a/fs/base.py b/fs/base.py index a4b7aefb..a6218b93 100644 --- a/fs/base.py +++ b/fs/base.py @@ -1409,7 +1409,7 @@ def writetext( path (str): Destination path on the filesystem. contents (str): Text to be written. encoding (str, optional): Encoding of destination file - (defaults to ``'ut-8'``). + (defaults to ``'utf-8'``). errors (str, optional): How encoding errors should be treated (same as `io.open`). newline (str): Newline parameter (same as `io.open`).