|
A CHARACTER(10) does get 10 bytes, possibly fewer characters. The
length-prefix for a VARCHAR field is measured in bytes.
A rule of thumb I saw once for converting an EBCDIC database field to
UTF-8 is to triple the length just to be sure.
I'm not expert enough to say how database handles the different
character sizes for UTF-8.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.