In my dbf file I have unicode chars (å,ä,ö).
How can I get the correct chars when I´m reading the extendedproperty in my extendeddata?
Regards
Fredrik
1 Answer, 1 is accepted
0
Andrey
Telerik team
answered on 24 Nov 2010, 04:38 PM
Hi Fredrik,
The encoding of DBF-file is determined automatically by MapShapeReader. Unfortunately the MapShapeReader does not contain property to assign certain encoding.
I have created the PITS issue for supporting this feature in future versions of RadMap. You can track its implementation using the following link: http://www.telerik.com/support/pits.aspx#/public/silverlight/4118
Currently you can use the ShapeFileReader.Read method which allows to set encoding for DBF-file. You can retrieve elements with correct unicode chars in extended data using the following sample code:
var shapeUri = newUri("/SilverlightApplication1;component/sampledata.shp", UriKind.Relative);