Is there any chance you could provide a way to urlencode anything sent in an UrlFetch command because I’m having serious problems dealing with usernames with unicode characters in, in youtube chat requests. The chat messages arrive and get processed fine because you urlencode those but not so with the username attached to it. So those with foreign or unicode characters are tripping up all manner of decoding at my end.
Thanks for that. I do already use $querystring but that is only the message content. I am also sending the username ($user variable) which is not url encoded and as such is causing this issue.