Creating a record in a database encoded 'WIN1250'/'WIN' - Mailing list pgsql-general

From Josef Springer
Subject Creating a record in a database encoded 'WIN1250'/'WIN'
Date
Msg-id 42E4C747.5070408@joops.com
Whole thread Raw
List pgsql-general
Hi,

i want to creat the record:
INSERT INTO "OfficeTalk".substitute
(substitutedid,substituterid,name,category,classtype) VALUES (?,?,?,?,?)
    (3 | 4 | 'Polizeneingang' | 'Abschluß' | 'ST' | )

The last three columns are defined as String.

If i use a database with standard encoding 'SQL_ASCII' all work fine but
the vovels are corrupted (data come from another application).
If i use a database with encoding 'WIN' or 'WIN1250', i get the error
'syntax error near ST.

Best Regards,
Josef Springer






pgsql-general by date:

Previous
From: Zlatko Matić
Date:
Subject: PostgreSQL, Lazarus and zeos ?
Next
From: Ezequiel Tolnay
Date:
Subject: Re: Wishlist?