Handle unicode when converting binary to list.