configures timezone and encoding