602SQL Documentation Index  

wb_client_encoding

PHP

int wb_client_encoding( resource connection )


Parameters

connection
An open connection on the 602SQL server (this value is returned by the wb_connect or wb_pconnect function). Mandatory parameter.


Description

This function will retreive the text coding ID passed in an SQL statement in PHP variables, along with the data coding of the wb_lob_write function.



Returns

The currently set text coding ID. Returns one of the constants WB_ENC_xxx, a list can be viewed in the wb_set_client_encoding function description.

Viz