[Haskell-cafe] Re: HDBC, character encoding
jgoerzen at complete.org
Thu Apr 3 10:10:37 EDT 2008
On 2008-04-01, Peter Gammie <peteg42 at gmail.com> wrote:
> On 31/03/2008, at 11:42 PM, Bjorn Bringert wrote:
>> 2008/3/26 Adrian Neumann <aneumann at inf.fu-berlin.de>:
>>> I wrote a CGI program to access a Postgres database using HDBC. [...]
>> I think that Peter Gammie (copied) has some code to deal with this.
> I added some stuff to HSQL (not HDBC) and HaskellDB so that UTF8 can
> be used to talk to the database. It's not very pretty though, so I
> haven't tried to get it merged.
Do you have a diff somewhere? I'd be interested in your approach, to
see if the same thing would make sense in HDBC.
I had generally been of the opinion that HDBC should just pass data
through, however it is obtained, and let the programmer set the
encoding as desired. If this approach isn't working for people, I'd
like to fix it, but want to make sure it's done right.
More information about the Haskell-Cafe