Fix encoding and version number warnings