Skip to main content
2 of 2
typos, English usage
Vince
  • 20.3k
  • 16
  • 48
  • 65

Is possible to create a shapefile with a specific encoding using ArcObjects?

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

moreover 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 shapefile 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 encoding when I'm creating the shapefile using the workspace provided by the shapefileworkspacefactory?

XtianGIS
  • 792
  • 7
  • 22