UTL_I18N is a collection of services that provide additional globalization capabilities for applications that are written in Programming Language (PL).
In the current OceanBase Database version, UTL_I18N supports string conversion functions for some data types.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Privileges
The functions of the UTL_I18N package do not read or modify database content. The functions operate based only on their arguments or retrieve static internationalization information from NLS data files. By default, the privilege for executing the UTL_I18N package is granted to PUBLIC.
Subprograms
The following table describes the UTL_I18N subprograms supported by the current OceanBase Database version.
| Subprogram | Description |
|---|---|
| RAW_TO_CHAR | Converts, into a VARCHAR string, the RAW data that is not encoded in the database character set. |
| STRING_TO_RAW | Converts a VARCHAR or NVARCHAR string to another character set. The result is returned in the RAW data type. |