changed handling of utf-8 date stuff