zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.46k stars 2.34k forks source link

Using non-ASCII characters in Unix domain socket paths doesn't work on Windows platform #4641

Closed dz-fsd closed 7 months ago

dz-fsd commented 7 months ago

When using socket paths containing non-ASCII characters (i.e. Cyrillic) in ipc:// socket paths, the socket opening may fail.

This seems to happen because Windows expects UDS paths encoded in utf-8, however 'narrow' versions of file manipulation functions (like rmdir(), unlink(), etc) expect the local system code page.

Environment