Normalize date

Decode date to normal utf8 encoding for templates.