1. A computer program stored on a non-transitory storage medium for encrypting a field value stored in a database system, the computer program comprising a set of instructions, when executed by a hardware processor, to cause the database system to: receive the field value associated with a data object or a table in the database system; identify types of language characters in the field value; select an encoding scheme from among multiple different encoding schemes to encode the field value based on the types of language characters in the field value; use the selected encoding scheme from the multiple different encoding schemes to encode the field value into a byte array; encrypt the encoded byte array of the field value and assign an encoding flag to identify the encoding scheme used to decode the encoded field value; and store the encoding flag and the encrypted byte array in the database system.