[Lazarus] Unicode and DBAware

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jul 24 01:48:52 CEST 2008


On Thu, 24 Jul 2008 00:23:36 +0100
Ivan Gan <ivan at comchatter.com> wrote:

> Hi
> Be warned that this will fail on some databases
> Example, ZEOS components, Lazarus 0.9.25 Unicode UTF-8, database 
> encoding UTF-8
> Tables contain ansi & extended including Chinese & Hebrew
> If you fail to set the driver to UTF-8, the transliteration is done 
> before the table object receives it
> The result is ????? instead of Chinese & Hebrew
> 
> This email is utf8 encoded & the following lines are supplied as a
> test reference

No. It's iso-8859-1 and the ???? are just plain ascii.


> The Polish line may look like ansi but the Z has a punctuation mark 
> above it which will be lost if you do conversion
> 
> Hebrew : ??? ?? ????? ?????????? NLSO
> <http://dual-core/nlso/index.php> Chinese : ????????????????
> <http://dual-core/nlso/index.php> English : This site uses NLSO
> technology <http://dual-core/nlso/index.php> Polish : Ta strona
> uz.ywa technologi NLSO <http://dual-core/nlso/index.php>
>[...]

Mattias



More information about the Lazarus mailing list