Apostrophes et al in a files with text attribute

Michael <wwwadmin@wizard.ca>

From: The Web Administrator <wwwadmin@wizard.ca>
To: PostGres General Questions <pgsql-general@postgresql.org>
Date: 1998-05-15T13:08:56Z
Lists: pgsql-general
I have passed text via a Perl CGI to my database, and tried storing text

into a field with the text attribute.  Only problem is if there is an
apostrophe in the string as in the word "can't"
it will not INSERT.... hmm... isn't "isn't" text?

hehehe.. anyways, what is the usual work around?