set encoding to utf8 otherwise data.split does not work