[Lazarus] RE : TSQLQuery limited to 255 characters in Unicode
Ludo Brands
ludo.brands at free.fr
Wed Apr 25 20:59:48 CEST 2012
> BUT when I try to get the values, also with a SQLQuery, if
> the value is
> not unicode (ascii characters) I can get more than 255 chars,
> but if it's
> unicode (tibetan) the returned value is always cut to 255 characters.
>
How is the field defined?
Using fpc 2.7.1 storing 1000 unicode characters in a nvarchar(1000) is no
problem. I tested with Chinese characters. If you are using an older fpc (<
2.6.0) you might better upgrade the compiler.
Ludo
More information about the Lazarus
mailing list