set encoding and change ext to .pod