Home > PHP > Function > > ingres_charset()

ingres_charset()

ingres_charset - Returns the installation character set

Syntax

string ingres_charset (resource $link)

Arguments

  • link - The connection link identifier

Description

ingres_charset() is called to determine the character set being used by the Ingres client, from II_CHARSETxx (where xx is the installation code).

Version

PHP PECL ingres >= 2.1.0

Return value

Returns a string with the value for II_CHARSETxx or returns NULL if the value could not be determined.