Windows requires special handling of both command lines and filenames with non-ascii characters. Unfortunately, Sox doesn't provide this, and I'm not much of a Windows developer.
Last edit: Mans Rullgard 2018-04-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a solution to this here https://sourceforge.net/p/sox/patches/105/
I lack the skill to compile binaries myself so I hope you can implement this into the main build.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is this on Windows? How does it fail?
Windows 10 latest build.
The error is as follows with test on filename: Isa - Домой (Край Земли).flac
Z:\Music\Programs\_Portable Installs\SoX\sox.exe FAIL formats: can't open input fileIsa - ????? (???? ?????).flac': Invalid argument`Last edit: Stephen Sherry 2018-04-26
Windows requires special handling of both command lines and filenames with non-ascii characters. Unfortunately, Sox doesn't provide this, and I'm not much of a Windows developer.
Last edit: Mans Rullgard 2018-04-27
So there won't be a fix? BTW, if the path contains these, not just the filename, it also fails.
Thanks.
It can be fixed. It just won't be high on my priorities. Sorry about that.
Hi Mans. I was wondering if you had a chance to look at this?
No problem. Hope it turns out a simple one.
There is a solution to this here https://sourceforge.net/p/sox/patches/105/
I lack the skill to compile binaries myself so I hope you can implement this into the main build.
A modified version of LoRd_MuldeR's patch is included in sox_ng-14.5.0.1 and later
at https://codeberg.org/sox_ng/sox_ng/releases
Could you check that it works for you?
@martinwguy, that seems to have worked. Thanks very much.
Eight years on... You're welcome & thanks for confirming it works OK
https://codeberg.org/sox_ng/sox_ng/issues/203