Specify character encoding for `getassertion` output