core: Dirty hack to fix DateTimeTpl utf8 issues