Set magic-encoding for app, lib, spec

Let's go thermonuclear on charset problems!