Specifying the character set for utility programs

The Sybase utility programs assume that the default character set of the client platform is the same character set the client is using. However, sometimes the client character set differs from the character set for the platform. For this reason, you may need to specify the client character set at the command line. Character set conversion can be controlled in the standalone utilities. A command line option for the isql, bcp, and defncopy utilities specifies the client’s character set and temporarily overrides settings of the LANG variable or settings in locales.dat.

-J charset_name (UNIX and PC) sets the client’s character set to the charset_name.

Omitting the client character set’s command-line flag causes the platform’s default character set to be used. See the Utility Guide for information.