ensure UTF-8 is truly the default encoding in all cases