curl / curl-for-win

Reproducible curl binaries for Linux, macOS and Windows
https://curl.se/windows/
MIT License
686 stars 207 forks source link

Non-latin symbols processing #56

Closed squromiv closed 11 months ago

squromiv commented 11 months ago

When I try to send a query/post a message with non-latin symbols, it results to non-readable characters in received data. Checked with n8n, Apprise and HTTPDebugger.

Test command

curl.exe -X POST -d "title=Title&body=Body - ԱՅՈՑ ԱՅԲՈՒԲԵՆ" http://server/notify/service

Result

245377870-016ab63f-5388-4758-8669-1307eaef2180

Windows Server 2016x64 Standard EN Curl v. 8.1.1

vszakats commented 11 months ago

Not a curl-for-win build issue. curl has limited/incomplete Unicode support on Windows.

vszakats commented 11 months ago

Update: You can work around this specific case by passing non-ASCII text via file or pipe for example.

squromiv commented 11 months ago

curl has limited/incomplete Unicode support on Windows.

Is there any github issue in order to implement this feature? Or it is not planned at all?

vszakats commented 11 months ago

More info over curl about this: https://github.com/curl/curl-for-win/discussions/55#discussioncomment-7252450