Force UTF-8 encoding on attributes