Set the encoding and timezone.