Re: MySQL and Unicode-enabled SBCL (patch)
Kevin Rosenberg <kevin-HJRc7zDS/[email protected]>
| Newsgroups | gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
Espen Wiborg wrote: > The attached patch fixes the issue where CLSQL sends the wrong length > of a query to MySQL on a Unicode-enabled SBCL if it contains non-ASCII > characters. > > Given that UFFI treats all strings as UTF-8 coded if the feature > :sb-unicode is present, this should be quite safe. It seems like a reasonable bandaid until CLSQL and UFFI offer full multibyte character support. Thanks, I've committed this and it will appear in the next next CLSQL release. Do you perhaps want to contribute a test case that provokes a problem? I think that'd be a good addition since the test suite now doesn't have any wide character tests. Kevin