added test and data for utf-8 encoding example