s/latin-1/latin1/g
diff --git a/Lib/fontTools/misc/xmlWriter.py b/Lib/fontTools/misc/xmlWriter.py
index 70a6a85..29739c1 100644
--- a/Lib/fontTools/misc/xmlWriter.py
+++ b/Lib/fontTools/misc/xmlWriter.py
@@ -52,8 +52,8 @@
"""Writes a bytes() sequence into the XML, escaping
non-ASCII bytes. When this is read in xmlReader,
the original bytes can be recovered by encoding to
- 'latin-1'."""
- self._writeraw(escape8bit(data.decode('latin-1')))
+ 'latin1'."""
+ self._writeraw(escape8bit(data.decode('latin1')))
def write_noindent(self, string):
"""Writes text without indentation."""