php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #26681 no documentation for mysql_character_set_name function
Submitted: 2003-12-20 17:57 UTC Modified: 2003-12-21 02:38 UTC
From: philippe_peirano at yahoo dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.3.4 OS: MacOS X 10.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: philippe_peirano at yahoo dot com
New email:
PHP Version: OS:

 

 [2003-12-20 17:57 UTC] philippe_peirano at yahoo dot com
Description:
------------
There is no description for the function:
mysql_character_set_name

A full search on the php.net web site reveal that the 
function is mentionned in the description of 
mysql_real_escape_string() and in the change log of 
version 4.3.4.


More generaly, there is no documentation on how to 
manipulate the character set used for the MySQL 
connection. The only possible operation on the 
character set is to retreive it with 
mysql_client_encoding(). 


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-21 02:38 UTC] vrana@php.net
PHP function mysql_client_encoding() is wrapper for MySQL function mysql_character_set_name(). There is a mistake in the changelog.

You can set some kind of charset translation by MySQL command SET CHARACTER SET but as far as I know there's no way to change the character set for connection. Only way is to set it in my.cnf.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 02 14:01:32 2024 UTC