Opened 8 years ago

Closed 8 years ago

Last modified 8 years 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 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

In 35432:

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

comment:2 by Even Rouault, 8 years ago

In 35433:

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

comment:3 by Even Rouault, 8 years ago

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