X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id BA6929FA13E for ; Thu, 15 Jun 2006 16:45:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 41848-06 for ; Thu, 15 Jun 2006 16:45:20 -0300 (ADT) X-Greylist: delayed 08:36:43.439612 by SQLgrey- Received: from smtp20.kymp.net (smtp20.kymp.net [80.248.96.137]) by postgresql.org (Postfix) with ESMTP id EE5F99FA5BE for ; Thu, 15 Jun 2006 16:45:18 -0300 (ADT) Received: from [192.168.0.100] (static-241-66.kymp.net [213.130.241.66]) by smtp20.kymp.net (8.13.3/8.13.3) with SMTP id k5FB8ZGd017890; Thu, 15 Jun 2006 14:08:36 +0300 From: Aarni =?iso-8859-1?q?Ruuhim=E4ki?= Reply-To: aarni@kymi.com Organization: KYMI.com To: pgsql-sql@postgresql.org Subject: Re: UTF-8 Problem ? Date: Thu, 15 Jun 2006 14:08:35 +0300 User-Agent: KMail/1.6.2 References: <016d01c6906b$1e5c6570$0a00a8c0@trivadis.com> In-Reply-To: <016d01c6906b$1e5c6570$0a00a8c0@trivadis.com> Cc: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200606151408.35245.aarni@kymi.com> X-Virus-Scanned: by amavisd-new X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/183 X-Sequence-Number: 25419 Hello, Db-encoding LATIN1 works fine for me with german, scandic, other umlauted o= r=20 accented and even cyrillic characters. BR, Aarni On Thursday 15 June 2006 14:01, Milen Kulev wrote: > Hi Listers, > I want to insert some german specific characters (umlaut characters) into= a > table, but I am getting the following Error message: > postgres=3D# EXECUTE stmt (1, 1 , 1 , 'Gr=FCn') ; > ERROR: invalid UTF-8 byte sequence detected near byte 0xfc > > Or > > postgres=3D# EXECUTE stmt (1, 1 , 1 , 'MA=DF=DFtab') ; > ERROR: invalid UTF-8 byte sequence detected near byte 0xdf > > Here are my object/statement definitions : > > A) PREPARE stmt( int, int, int, varchar) as insert INTO part values > ($1,$2,$3,$4); > > B) > postgres=3D# \d+ part > Table "public.part" > Column | Type | Modifiers | Description > --------+------------------------+-----------+------------- > id1 | integer | not null | > id2 | integer | not null | > id3 | integer | not null | > filler | character varying(200) | | > > C) > > postgres=3D# l\l > List of databases > Name | Owner | Encoding > ------------+-------+----------- > db1 | user1 | SQL_ASCII > postgres | pg | UTF8 > template0 | pg | UTF8 > template1 | pg | UTF8 > > > How to solve my problem ? > > Best Regards. Milen > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster =2D-=20 Aarni Ruuhim=E4ki Megative Tmi P=E4=E4sintie 26 45100 Kouvola =46inland +358-5-3755035 +358-50-4910037 www.kymi.com | cfm.kymi.com =2D------------- This is a bugfree broadcast to you from **Kmail** on **Fedora Core** linux system =2D------------- Linux is like a wigwam - no windows, no gates and a free apache inside.