Skip to main content
1 of 2
XtianGIS
  • 792
  • 7
  • 22

Is posisble to create a shapefile with an specific encoding using ArcObjects?

I have the code to create a shapefile programmatically, something like this 28310 - Create a new empty shapefile programmatically

more over I am able to put the data from a layer in it.

It works perfectly.

Some client hands to me several layers that have data in Russian. When I export from my application to a shp file I got the same behavior described here esri - Character encoding support in geodatabases and shapefiles - Geographic Information Systems Stack Exchange .

the fields with Cyrillic alphabet appears like ???????? .

I found this article: 21106 - Read and write shapefile and dBASE files encoded in various code pages but it does not apply to ArcEngine (arcObjects) .

Is there a way to change the codification when I'm creating the shp file using the workspace provided by the shapefileworkspacefactory?

XtianGIS
  • 792
  • 7
  • 22