enforce UTF-8 properly
protect against really weird dates