Creating a record in a database encoded 'WIN1250'/'WIN'

From: Josef Springer <Josef(dot)Springer(at)JOOPS(dot)COM>
To: pgsql-general(at)postgresql(dot)org
Subject: Creating a record in a database encoded 'WIN1250'/'WIN'
Date: 2005-07-25 11:04:39
Message-ID: 42E4C747.5070408@joops.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-07-25 13:43:53 Re: Query planner refuses to use index
Previous Message Jeffrey Cook 2005-07-25 11:03:22 PGSQL programmer needed!!!