Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#6650 closed defect (fixed)

CPLGetSymbol on Windows can't load DLLs with cyrillic path

Reported by: oleinik Owned by: warmerdam
Priority: normal Milestone: 2.1.2
Component: default Version: svn-trunk
Severity: critical Keywords:
Cc:

Description

CPLGetSymbol on Windows does not convert pszLibrary from utf8 and as result GDAL can't load plugins from directory with cyrillic name.
If GDAL_DRIVER_PATH config options has ANSI-encoding then VSIReadDir can't get file list, but if GDAL_DRIVER_PATH in UTF8-encoding then LoadLibrary? can't load appropriate dll.

Change History (3)

comment:1 Changed 4 months ago by rouault

  • Resolution set to fixed
  • Status changed from new to closed

In 35432:

Windows: honour GDAL_FILENAME_IS_UTF8 setting to call LoadLibraryW() (fixes #6650)

comment:2 Changed 4 months ago by rouault

In 35433:

Windows: honour GDAL_FILENAME_IS_UTF8 setting to call LoadLibraryW() (fixes #6650)

comment:3 Changed 4 months ago by rouault

  • Component changed from GDAL_Raster to default
  • Milestone set to 2.1.2
Note: See TracTickets for help on using tickets.