In tests, remove references to wgInputEncoding and wgOutputEncoding