Hi,

How should I load a vector layer with an accented path without error?

This my code sample:

f = "/home/abusquets/avió/dades.shp"
vlayer = QgsVectorLayer(f, "layer_name_you_like", "ogr")
print vlayer.isValid()


Thanks
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to