Subject UTF8, malformed string error
Author Martijn Tonies

With Delphi, I'm trying to insert characters into a UTF8 column
in Firebird 2.

If I'm trying to insert a string 'test', it works fine:

FCommand.Params[Index].AsString := 'test';

But as soon as more special characters are used:
FCommand.Params[Index].AsString := 'tes├ęt';

Firebird raises a "malformed string" error.

I've tried WideString instead of String, but that inserts the first char
only, so that seems way off.

Anyone got a clue?

Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
My thoughts:
Database development questions? Check the forum!