X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 59F85D1B91C for ; Mon, 15 Mar 2004 10:42:06 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 55599-02 for ; Mon, 15 Mar 2004 06:42:06 -0400 (AST) Received: from smartdatainc.com (unknown [202.164.35.114]) by svr1.postgresql.org (Postfix) with ESMTP id 9F46CD1B80B for ; Mon, 15 Mar 2004 06:42:01 -0400 (AST) Received: from raman ([192.168.199.212]) by smartdatainc.com ([192.168.199.92]) with SMTP (MDaemon.PRO.v6.5.2.R) for ; Mon, 15 Mar 2004 16:10:30 +0530 Message-ID: <00ec01c40a79$7ec4be00$d4c7a8c0@raman> From: "Raman" To: Subject: Invalid Characters Date: Mon, 15 Mar 2004 16:07:16 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00E5_01C40AA7.95BCA180" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-MDRemoteIP: 192.168.199.212 X-Return-Path: ramang@smartdatainc.com X-MDaemon-Deliver-To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=BAYES_44, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200403/154 X-Sequence-Number: 17253 This is a multi-part message in MIME format. ------=_NextPart_000_00E5_01C40AA7.95BCA180 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, I have imported some data from csv files in my DB. Now that data has some i= nvalid characters stored in it. so I get this exception: Exception in ChannelDAO Invalid character data was found. This is most lik= ely caused by stored data containing characters that are invalid for the ch= aracter set the database was created in. The most common example of this is storing 8= bit data in a SQL_ASCII database. Now, I tried using to_ascii() fn in my select query but it didn't work. Cn = you please suggest any solution so that invalid characters should not come = to my webpage while displaying. Regards Raman Garg ------=_NextPart_000_00E5_01C40AA7.95BCA180 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi All,
 
I have imported some data from csv files i= n my DB.=20 Now that data has some invalid characters stored in it.
so I get this exception:
 
Exception in ChannelDAO Invalid character = data was=20 found.  This is most likely caused by stored data containing character= s=20 that are invalid for the character set
 the database was created=20 in.  The most common example of this is storing 8bit data in a SQL_ASC= II=20 database.
 
 
Now, I tried using to_ascii() fn in my sel= ect query=20 but it didn't work. Cn you please suggest any solution so that invalid=20 characters should not come to my webpage while displaying.
 
Regards
Raman=20 Garg
------=_NextPart_000_00E5_01C40AA7.95BCA180--