Overriding the System Default Character Set for All Replication Agent Instances

Override the default character set for all instances of Replication Agent.

  1. Enter a character set value in the ra script:
    • For Windows, edit the %SYBASE%\RAX-15_5\bin\ra.bat file.

    • For UNIX, edit the $SYBASE/RAX-15_5/bin/ra.sh file:

      RA_JAVA_DFLT_CHARSET=charset

      where charset is the Java-supported encoding.

      For example, ISO8859_1 or Cp1252 for ISO-1 (also known as Latin-1), and ISO8859_8 or Cp1255 for Hebrew.

      Note: In UNIX, spaces are not allowed on either side of the equals sign.
  2. Uncomment these lines of code:
    • For Windows:

      set RA_JAVA_DFLT_CHARSET=charset
    • For UNIX:
      RA_JAVA_DFLT_CHARSET=charset
      export RA_JAVA_DFLT_CHARSET