Commit 986f6c16 authored by Victor Poughon's avatar Victor Poughon

Merge branch 'bugfix-1318' into release-5.10

parents 7971a68e d24f5d61
......@@ -53,6 +53,10 @@ GDALDriverManagerWrapper::~GDALDriverManagerWrapper()
GDALDatasetWrapper::Pointer
GDALDriverManagerWrapper::Open( std::string filename ) const
{
// This GDAL config option is there to handle UTF-8 filenames on Windows
// It fixes mantis bug 1318 where images with filenames like 你好.tif could not be read on Windows
CPLSetConfigOption("GDAL_FILENAME_IS_UTF8","NO");
GDALDatasetWrapper::Pointer datasetWrapper;
if (boost::algorithm::starts_with(filename, "http://")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment