Re: Statement Handle Attribute Precision
Michael Gerdau <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
> > In in "standard" command-line client this session choice would be set in > > my.ini under the name default-character-set, if I'm not mistaken. > > Changing its value from utf8 to latin1 could maybe "solve" the problem. > > On linux, so its my.cnf and all the character-sets are latin1 and > character-set-server as well Even if it were utf8 and switching to latin1 would "solve" the problem: My possibly naive expectation would be that PRECISION returns the number of characters and not the number of bytes required to represent these characters. Best wishes, Michael -- Michael Gerdau email: [email protected] GPG-keys available on request or at public keyserver