add changeEncoding function for listserver