Re: Unicode awareness for pg-socket backend on SBCL
Edi Weitz <[email protected]>
| Newsgroups | gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 06 Apr 2005 18:55:38 +0300, Janis Dzerins <[email protected]> wrote: > Attached is a patch that modifies postgresql-socket-api.lisp so that > it works when a database has a UNICODE "character set" *on my box*. > This is a hack, but at least I can use my data. > > The right way would be to find out necessary character set from > postgresql, and use that when communicating (which I don't know how > to get at, yet). My modifications use the default external format > (which can be changed by environment variables in the shell for > SBCL). I haven't looked at the patch but wouldn't, say, (execute-command "set client_encoding to 'LATIN1'") suffice or am I missing something? Cheers, Edi.