New functions in data.table.R: setencoding and setencodingv.