Hello we´re having some issues with a shape encoding, in our code we have two distinct situations,
in the first one we choose a point in the map and the following code is executed:
returnCollection = theLayer.QueryTools.GetFeaturesWithinDistanceOf(centerPoint, ProjectionManager.ProjectionGeographyUnitMapLayer(IDMapLayer), DistanceUnit.Meter, distance, ReturningColumnsType.AllColumns);
the returnCollection is filled with the correct data in the 'freguesia field'(with the correct encoding).
in the second scenario i use the following code:
tempDatatable = myFeatureLayer.QueryTools.ExecuteQuery(query);
in this case the datable is filled with data with strange caracteres in the field freguesia (encoding problems).
in the both scenarios the return values are the name of freguesias (portugal provinces)
When using the shape file in qgis using utf8 i see the same problem with the caracteres.
Why are the results diferent?
when using theLayer.QueryTools.GetFeaturesWithinDistanceOf and theLayer.QueryTools.GetFeaturesWithinDistanceOf
best regards
Luís Diogo