Bug #8548 Request for a means to get the length of a field in chars instead of bytes
Submitted: 16 Feb 2005 16:39
Reporter: Matthew Lord
Status: Verified
Category:Server: Charsets Severity:S4 (Feature request)
Version:all OS:Any (all)
Assigned to: Target Version:
Triage: Triaged: D5 (Feature request)

[16 Feb 2005 16:39] Matthew Lord
Description:
I understand that the length field in the MYSQL_FIELD structure will probably not be
changed as it has been in bytes for so long but there should be some means to get the
length in characters for 
multi-byte columns.

How to repeat:
Create a UTF8 table, populate it with a few rows and check the lengths.

I know this is a poor example of how to repeat the problem but this is a known
and documented problem.

Suggested fix:
It could be another variable in the MYSQL_FIELD struct or another set of functions
altogether so long as this functionality is available.