NB: This is a cross-post from https://groups.google.com/forum/#!topic/puppet-users/z4P-CmbyRxk .
I have a Puppet repository using Hiera as a lightweight ENC rather than the more traditional init.pp script in the manifests directory. When using Vagrant to test my commits work fine before opening a pull request, I've encountered the following:
Error: Could not parse for environment production: Caught Encoding::CompatibilityError: incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string) at /tmp/vagrant-puppet-1/manifests/site.pp:2 on node0
The file - site.pp - only contains one line...
vagrant ssh node0 -c 'cat -A /tmp ...