fix utf8 encode strftime