[fpc-devel] TField.AsString and Databases with UTF-8 charset

Graeme Geldenhuys graemeg at opensoft.homeip.net
Fri Jul 24 14:25:56 CEST 2009


Martin Schreiber wrote:
>>
> Applies for UNICODE_FSS not UTF8. As I wrote before:


UNICODE_FSS and UTF8 character set implementation as incorrectly 
implemented in Firebird. Firebird is changing the data when read back 
from the DB, by padding it with spaces when it is not required.

Firebird also violates the type definition of Char(x) when UTF8 charset 
is specified. Firebird returns a string longer than the maximum 
characters allowed in a Char(x) field.



Regards,
   - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-devel mailing list