Bug #7923 mysql_character_set_name returns collation instead of characterset name
Submitted: 15 Jan 2005 10:48 Modified: 14 Jul 2005 7:50
Reporter: Georg Richter Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.x + 5.0.x OS:Any (all)
Assigned to: Georg Richter CPU Architecture:Any

[15 Jan 2005 10:48] Georg Richter
Description:
Since 4.1 the api function mysql_character_set_name returns the collation name instead of character set name.

Note: got a timeout on port 80 when submitting this bug, so maybe it's a duplicate)

How to repeat:
printf("Charset: %s\", mysql_character_set_name(mysql));

Output:
latin1_swedish_ci

instead of latin1