Personal tools
You are here: Home gvSIG Projects gvSIG Desktop Documentation User documentation gvSIG-Desktop 1.11. User manual (online)
gvSIG Desktop
gvSIG Desktop

Cached time 11/22/13 03:22:59 Clear cache and reload

 
Document Actions

gvSIG-Desktop 1.11. User manual

by Mario Carrera last modified 2013-07-30 16:04


Character encoding in tablesIntroduction

Although .dbf files should contain a byte to indicate character encoding, this information is usually not present. gvSIG provides the Shalom tool that sets the encoding and then reads the information in the table using that encoding. If the encoding is not set in this way then gvSIG will read the table data using the default encoding.


Setting table encoding

It is possible to set the character encoding of a table by selecting Table > Set encoding to .dbf files from the menu bar. Choose the table for which the encoding needs to be set and then select the encoding type (charset). This encoding setting is recorded permanently in the table.

Now the table can be added to the gvSIG project. When gvSIG opens the table the character encoding is read and the characters in the table are correctly displayed.

Note: The correct display of characters depends not only on the encoding setting, but also on the virtual machine that is installed (specifically Java 1.6, which supports more encodings than Java 1.5).


Changing the default character encoding

This option can be accessed by opening the Window > Preferences menu and then selecting DBF default encoding.

gvSIG will use the selected encoding as the default when adding a .dbf file to a project, and will also use it when exporting a table that uses a specific encoding.

The export of a table might not be correct if the character encoding is incorrectly configured in the gvSIG preferences.


Get freemind document

View source document Get permanent link


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: