2013.03.21 10:49 "[Tiff] TiffOpenW() not opening tiff file containing Japanese character", by Sunanda Chowdhary

2013.03.21 10:49 "[Tiff] TiffOpenW() not opening tiff file containing Japanese character", by Sunanda Chowdhary

Hello,

I am using TiffOpenW() to open a tiff file containing Japanese character.

Code snippet:

wchar_t *wname = L”C:/test/image名.tif”;
TIFF* tif = TIFFOpenW(wname, "r");

This function returns NULL. Please help me understand what type of path name (UTF-8 or UTF-16 (Unicode)) is it expecting.

Thanks,
Sunanda