(main): Provide an error message that identifies the wrong encoding.