Specifying the codepage of a shapefile
Codepages are used to convert 8-bit or multibyte characters stored in a shapefile database file (DBF) table to unicode characters, which ArcPad uses internally. This allows ArcPad to display the data in your shapefile table using the correct characters. ArcPad automatically recognizes a codepage of a shapefile if a supported Language Driver ID (LDID) is found in the header of the shapefile's DBF table (in the 29th byte). If the codepage is available on the system, it will be used to translate the attribute contents and field names into displayable characters.
In rare cases, your data may use a codepage that has an unsupported LDID. If you encounter this situation, you can create a layer definition file for your shapefile and set the codepage ID in the <LOCALE> element.
Setting the LDID of a DBF table
- Start ArcPad Studio.
- Click the Tools menu and click Set DBF Codepage.
- Navigate to the folder that contains the DBF with the codepage ID you want to set, click the DBF, and click Open.
The DBF Codepage dialog box appears.
- Click the desired codepage and click OK.
Adding a <LOCALE> element to a layer definition file