changed PWP::Encoding to PWP::SingleEncoding