Modifying an Existing Relativity Character Set

  1. Edit the file relcs.cs in the installation directory.
  2. Locate the character set to modify.
  3. Select and copy the lines Charset and EndCharset of the desired character set and all the text in between.
  4. Create a text file in which to place the modified character set and paste in the text from Step 3.
  5. Locate the Charset line and change the text between the quotes to the name for the character set that is to be visible from within the Select Character Set dialog box. Change the number at the end of the line to 0x0.
  6. Locate the lines for the Code Points to be changed in the character set. This can be done by examining first entry on each the line. This value is the numeric value for the character in the character set. For example, in most Latin-based character sets, the capital letter A has the Code Point value of 65 (or 0x41 hexadecimal).
  7. Change the second entry on the line to the Unicode value for the new character to be at this Code Point. For example, if you want the character at Code Point 65 to be interpreted as a capital letter A with an Acute, change the line to the following:

    0x41 0x00C1 #LATIN CAPITAL LETTER A WITH ACUTE

  8. If necessary, insert a new line with the Code Point and Unicode entries for new Code Points.
    Note: A Unicode character may be used only once in a character set. If it appears twice, an error indicating a duplicate Unicode character will be generated during import. Unique Unicode characters are necessary for all defined Code Points in order to generate mapping tables that can be used to translate characters both to and from the new character set. Rather than arbitrarily assigning Unicode characters to unused Code Points, either leave them out of the character set definition, or use <NOT USED> as the Unicode character entry. When Relativity encounters the <NOT USED> entry, it creates an association in the character set being defined with unused or unmatched entries in the target character set. In this manner, if an undefined character is present in the data, it will be translated consistently.
  9. Save the file and import it into the Relativity data source.

To see a list of errors that can occur when a character set is imported into a Relativity data source, see Error Messages when Importing a Character Set.