Added Encoding override option