<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Arial">
<p>I am using Zope 2.9 connected to a Posgres DB via psycopg. My database encoding is UTF8. </p>
<p>I am getting the following error when users try to insert text in the database containing £ signs:</p>
<p><span style="font-style:italic">ERROR: invalid byte sequence for encoding &quot;UTF8&quot;: 0xa3</span></p>
<p></p>
<p>This is due to the encoding of a £ sign in the text being sent to the DB.</p>
<p>My question then is how do I make sure that all encodings submiitted from forms are in the correct UTF8 format?</p>
<p>Regards</p>
<p>Garry</p>
</body></html>