[PHP]Simplify the code of cubrid_client_encoding and cubrid_get_charset