made utfDecode function and apply it