Add new comment

libraw wide char format support on MSYS2

Dear all,
I'm developing a software that uses libraw. This software is multi-platform and is able to run on GNU/Linux, OS X, FreeBSD and Windows through MSYS2.
Indeed, libraw is available on MSYS2 and that makes things easy. However there's a small issue that is kind of annoying: I cannot use the function

libraw_open_wfile

as I would like to do. For example with libtiff i use TIFFOpenW.

Indeed, in libraw.h this line:

#if defined(_WIN32) && !defined(__MINGW32__) && defined(_MSC_VER) && (_MSC_VER > 1310)

make the function unavailable on MSYS2. However, this function should work on every Windows system because it is not possible for now to use wide chars as "é" "è" or others in filename.

So, do you think it could be possible for you to fix this issue in a next release ? I understand it may not be your priority but as libraw is available on MSYS2 I really think it should be fixed.

Or maybe you have a workaround to open filename with wide chars.

My best regards

Forums: