Both the database server and the client library recognize their language and character set environment using a locale definition. See “Understanding locales” in SQL Anywhere Server – Database Administration > Configuring Your Database > International languages and character sets.