Force encodings to where required to get task log working.