The attached patch removes this warning:
encnames.c:511: warning: passing argument 1 of 'clean_encoding_name' discards qualifiers from pointer target type
Kris Jurka