I managed to completely mangle decodeUTF8() in my changes that went into
build 303. It would incorrectly decode any multibyte UTF8
representation. Don't know what I was thinking there..
Anyway, here is a patch to repair the damage, and a testcase to check
that the driver reads/writes unicode strings correctly.
Thanks to Dario Fassi for helping diagnose this.
-O