Name

current_charset — Get name of current charset.

Synopsis

current_charset ( );

Description

This function returns the "preferred" name of the current charset as a string.

It returns value which is set in the INI file or those which is set with 'SET CHARSET=..' call. This cannot be used to return charset for the current HTTP connection in the VSP or VSPX context.

Parameters

None.

Return Types

A string containing the name.

Errors

None signalled.

Examples

Example24.67.Get name of current charset

SQL> select current_charset();
callret
VARCHAR
_______________________________________________________________________________
ISO-8859-1