curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Uploading a filename containing unicode using curl_mime_filedata on Windows

From: Taw via curl-library <>
Date: Fri, 30 Sep 2022 15:51:32 +0000 (UTC)

I am trying to upload a file using this example

The problem is that, on Windows, if that file contains unicode characters, it does not work.It seems a known problem, because cURL uses "fopen" internally, which does not work on Windows.

And the proposed solution is to use this function

My question is: those bugs are quite old, are there newer simpler solutions to this problem? Maybe a newer function, I don't know...
Thank you

Received on 2022-09-30