curl command is unable to upload files with unicode characters

After downloading a new curl version 7.80 it was able to upload the file with unicode characters. I had version 7.76...