Change from library dart:UTF8 to dart:convert, fix UTF8 handling for strings