-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
I did this
cmd
"curl.exe" -o "ポ.html" "https://www.google.com/"
I expected the following
I expect to run this command and save "ポ.html"
But what was actually saved was "ダ.html"
("ポ" reads po. "ダ" reads da in japanese)
When specifying a path with the -o option, if "ポ" is included, it seems to change to a different character for some reason.
I have confirmed that this bug occurs in version 8.1.2_5, but not in version 8.0.1.
curl/libcurl version
curl 8.1.2 (x86_64-w64-mingw32) libcurl/8.1.2 OpenSSL/3.1.0 (Schannel) zlib/1.2.13 brotli/1.0.9 zstd/1.5.5 WinIDN libssh2/1.11.0 nghttp2/1.55.1 ngtcp2/0.15.0 nghttp3/0.11.0 libgsasl/2.2.0
Release-Date: 2023-05-30
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli gsasl HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM SPNEGO SSL SSPI threadsafe UnixSockets zstd
operating system
Windows10 64bit