<div dir="ltr"><p>Hello,</p>
<p>I’m having trouble opening a RAR archive containing files with non-Latin characters using GDAL:</p><font face="monospace">$ docker run --rm -v `pwd`/arch.rar:/arch.rar:ro -e CPL_DEBUG=ON <a href="http://ghcr.io/osgeo/gdal:ubuntu-full-3.11.3">ghcr.io/osgeo/gdal:ubuntu-full-3.11.3</a> gdalinfo "/vsirar/arch.rar"<br>VSIARCH: Opening arch.rar<br>VSIARCH: Pathname cannot be converted from UTF-16BE to current locale.<br>VSIARCH: Opening arch.rar<br>VSIARCH: Pathname cannot be converted from UTF-16BE to current locale.<br>ERROR 4: `/vsirar/arch.rar' does not exist in the file system, and is not recognized as a supported dataset name.<br>gdalinfo failed - unable to open '/vsirar/arch.rar'.</font><div><br></div><div>It seems the issue is related to the non-Latin filenames in the archive. Using <code>unrar</code>, I can extract the files and list them without any problem.</div><div>Is there any workaround to make GDAL handle such RAR archives correctly?<br><br>Thank you!</div><div>
<p></p></div></div>