Encoding Unicode Getbytes Function