original_string: function SetCharSet($charset_name)
  	{
  		$this->GetCharSet();
  		if ($this->charSet !== $charset_name) {
  			$if = pg_set_client_encoding($this->_connectionID, $charset_name);
  			if ($if == "0" & $this->GetCharSet() == $charset_name) {
  				return true;
  			} else return false;
  		} else return true;
  	}
code: function SetCharSet($charset_name)
  	{
  		$this->GetCharSet();
  		if ($this->charSet !== $charset_name) {
  			$if = pg_set_client_encoding($this->_connectionID, $charset_name);
  			if ($if == "0" & $this->GetCharSet() == $charset_name) {
  				return true;
  			} else return false;
  		} else return true;
  	}
code_tokens: function SetCharSet ( $ charset_name ) { $ this -> GetCharSet ( ) ; if ( $ this -> charSet !== $ charset_name ) { $ if = pg_set_client_encoding ( $ this -> _connectionID , $ charset_name ) ; if ( $ if == "0" & $ this -> GetCharSet ( ) == $ charset_name ) { return true ; } else return false ; } else return true ; }
docstring: SetCharSet - switch the client encoding
docstring_tokens: SetCharSet - switch the client encoding