Fix typo in encoding.