[Qgis-developer] QGIS 1.7.1 and cyrillic paths

Golubev golubev at nordcomp.ru
Tue Sep 27 04:28:18 EDT 2011


Hi devs!
I`m trying to create spatial index to vector layer and if there are 
cyrillic symbols in absolute path to that layer then creating failed.
If this layer have cyrillic name there is debug message:
..\..\..\..\src\src\providers\ogr\qgsogrprovider.cpp(1076) : 
(QgsOgrProvider::createSpatialIndex) SQL: CREATE SPATIAL INDEX ON 
"????????_??????????????N?"
OGR[3] error 1: Layer :☺A?A?A?A?A?A?A?_A?A?A?A?A?A?A?A?A?A?A?A?A?A?A?A? 
not recognised.

If this layer have english name there are no error messages, but index 
creation failed
..\..\..\..\src\src\providers\ogr\qgsogrprovider.cpp(1076) : 
(QgsOgrProvider::createSpatialIndex) SQL: CREATE SPATIAL INDEX ON "lines1"


More information about the Qgis-developer mailing list