Use UTF-8 encoding, and build for magic 3.0