Added charset to cdv writer