fix encoding matter

refs: https://travis-ci.org/iiirc/iiirc/jobs/7257885