<div>Mark,</div>
<div> </div>
<div>Yes, I'm using that version.</div>
<div>The shp2pgsql is running fine, the problem comes when importing the sql-file in the PostGIS database with the psql command. psql returns a message: Invalid UTF-8 byte sequence detected....so I assumed that something went wrong during the shp2pgsql excution. I've now converted the resulting sql-file in a UTF-8 encoding using the save as option in...notepad. Running the pgsql commando then went fine.
</div>
<div>When displaying my data in Udig I see that some attribute fields aren''t display correct. Geometry is fine. f.i. 9880 in an attribute field is displayed as 9880.0000000 though I don't know what has caused that.</div>

<div> </div>
<div>Can you tell me something more about the W-switch and how to use it ?</div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 5/19/06, <b class="gmail_sendername">Mark Cave-Ayland</b> <<a href="mailto:m.cave-ayland@webbased.co.uk">m.cave-ayland@webbased.co.uk</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">________________________________________<br>> From: <a href="mailto:postgis-users-bounces@postgis.refractions.net">
postgis-users-bounces@postgis.refractions.net</a><br>[mailto:<a href="mailto:postgis-users-bounces@postgis.refractions.net">postgis-users-bounces@postgis.refractions.net</a>] On Behalf Of Steven<br>De Vriendt<br>> Sent: 18 May 2006 16:37
<br>> To: <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>> Subject: [postgis-users] Problem with shp2pgsql - charachter encoding<br>><br>> (cut)<br>><br>
> Can someone help me with a few steps ?<br>><br>> 1) where's the location of the makefile.config - file ? I'm using Postgres<br>8.1.3 with<br>> postgis on windows xp and can't find it...<br>> 2) I suppose libiconv is an app to convert between ansi and utf ?
<br>> 3) I suppose I have to use the shp2pgsql command with the W-flag ? but how<br>do I specify > the -W flag ?<br>><br>> Thanks for your help !<br><br><br>Hi Steven,<br><br>Are you using the version of PostGIS which comes with the PostgreSQL 
8.1.3<br>Win32 installer? If you are able to upgrade your database to PostGIS 1.1.2,<br>the latest Win32 installer at <a href="http://www.webbased.co.uk/mca/">http://www.webbased.co.uk/mca/</a> contains<br>shp2pgsql.exe compiled with libiconv support to enable the -W switch. More
<br>information about the upgrade process can be found at<br><a href="http://postgis.refractions.net/docs/ch02.html#upgrading">http://postgis.refractions.net/docs/ch02.html#upgrading</a>.<br><br><br>Kind regards,<br><br>Mark.
<br><br>------------------------<br>WebBased Ltd<br>17 Research Way<br>Plymouth<br>PL6 8BT<br><br>T: +44 (0)1752 797131<br>F: +44 (0)1752 791023<br><br><a href="http://www.webbased.co.uk">http://www.webbased.co.uk</a><br>
<a href="http://www.infomapper.com">http://www.infomapper.com</a><br><a href="http://www.swtc.co.uk">http://www.swtc.co.uk</a><br><br>This email and any attachments are confidential to the intended recipient<br>and may also be privileged. If you are not the intended recipient please
<br>delete it from your system and notify the sender. You should not copy it or<br>use it for any purpose nor disclose or distribute its contents to any other<br>person.<br><br><br>_______________________________________________
<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br></blockquote></div><br>