Opened 5 months ago

Closed 5 months ago

Last modified 5 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 5 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 35432:

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

comment:2 Changed 5 months ago by Even Rouault

In 35433:

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

comment:3 Changed 5 months ago by Even Rouault

Component: GDAL_Rasterdefault
Milestone: 2.1.2
Note: See TracTickets for help on using tickets.