On Thu, Nov 04, 2004 at 08:25:00PM +0100, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
I suspect you lump me in with "they" there, so I'd like to point out that I haven't made that suggestion. It's clearly not the right way to do it.
"they" are everybody who did, no personal pointers :)
You can get it perfectly well working by decoding your UTF8 encoded queries before feeding them to the glue. Then you get an unnecessary decode/encode cycle, but nothing more serious than that.
That's extra price I don't want to pay. After all, it might be not UTF8 but anything else which fits in 8bit (any charset which fits in 8 bit, will be scrambled by implicit encoding, while native interface won't do any conversion).
In case if SQL modules would be "high-level" API to any SQL DBMS, I would agree with this, but since those are not, this is (how it is done now) not right way to go, IMHO. Or, in other words, I don't expect that wrapper glue will do anything but wrap.
Regards, /Al