[Gdal-dev] Can't open a sid image under Russian locale

Peng Gao pgao at esri.com
Thu Feb 9 18:25:17 EST 2006


GDAL can’t open a sid with a Russian path name. The problem seems to be the name conversion in

LTFileSpec. The following is the name before and after.

 

I am using DSDK 5.0.6

 

/* -------------------------------------------------------------------- */

/*      Create a corresponding GDALDataset.                             */

/* -------------------------------------------------------------------- */

    MrSIDDataset        *poDS;

    const LTFileSpec    oFileSpec( poOpenInfo->pszFilename );

 

 

Before poOpenInfo->pszFilename:

 

“\\collingwood\checklist_data\Raster\I18N\Russian\фывdvim3_2.sid <file:///\\collingwood\checklist_data\Raster\I18N\Russian\фывdvim3_2.sid> ”

 

After oFileSpec.path8:

 

 "\\collingwood\checklist_data\Raster\I18N\Russian\Р‡в€љС‚dvim3_2.sid"

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20060209/55ea57b0/attachment.html


More information about the Gdal-dev mailing list