to_jsfind will try to decode entities from data, and recode then to target encoding (UTF-8 by default)