downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ingres_close> <ingres_autocommit
Last updated: Fri, 13 Nov 2009

view this page in

ingres_charset

(PECL ingres >= 2.1.0)

ingres_charsetReturns the installation character set

説明

string ingres_charset ( resource $link )

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

注意: You can override the value returned by using the function putenv(). Changing the value of II_CHARSETxx in a running Ingres installation can cause data corruption.

パラメータ

link

The connection link identifier

返り値

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

例1 ingres_charset() - Get the installation character set

<?php
$link 
ingres_connect($database$user$password);

echo 
ingres_charset($link) . "\n";

ingres_close($link);
?>

参考



add a note add a note User Contributed Notes
ingres_charset
There are no user contributed notes for this page.

ingres_close> <ingres_autocommit
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites