<br><font size=2 face="sans-serif">Hanne: &nbsp;If you are using ArcView
to display your shapefiles, you might want to take a look at the tech page:
<b>HowTo: &nbsp;Read and write Shapefile and dBASE file encoded in various
code pages</b> at </font><a href="http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&amp;d=21106&amp;errorCode=3"><font size=2 color=blue face="sans-serif">http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&amp;d=21106&amp;errorCode=3</font></a>
<br>
<br><font size=2 face="sans-serif">Good luck</font>
<br>
<br><font size=2 face="sans-serif">David Gancarz</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Frank Warmerdam &lt;fwarmerdam@gmail.com&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: shapelib-bounces@lists.maptools.org</font>
<p><font size=1 face="sans-serif">06/24/2005 09:41 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
warmerdam@pobox.com; Please respond to<br>
Shapelib Development &lt;shapelib@lists.maptools.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Shapelib Development &lt;shapelib@lists.maptools.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [Shapelib] DBFWriteStringAttribute
whit iso8859_1 (Danish &nbsp; &nbsp; &nbsp; &nbsp;character)</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>On 6/24/05, Hanne Ribergaard &lt;hanne.ribergaard@breakoutimage.dk&gt;
wrote:<br>
&gt; I have another beginner's problem: <br>
&gt; <br>
&gt; When call DBFWriteStringAttribute the Danish characters in pszFieldValue
are<br>
&gt; displayed wrong in the final shape file. <br>
&gt; <br>
&gt; I'm sure that the sting is ok before calling DBFWriteStringAttribute.
<br>
&gt; <br>
&gt; When I call DBFAddField where pszFieldName is containing Danish letters,<br>
&gt; there are no problems. This mean that the fieldnames in my shape file
look<br>
&gt; fine but the values are not displayed correctly. What can bee wrong?
<br>
<br>
Hanne, <br>
<br>
I don't think that Shapelib is performing any character set transformations<br>
on values going into and out of string attributes so it seems the problem<br>
is likely how the display application interpretes the characters. <br>
<br>
What do the characters look like if you do a &quot;dbfdump&quot; on the
file?<br>
<br>
It is possible that there is some sort of character set setting that can<br>
be put in a .dbf file, but if there is I don't know about it and certainly<br>
don't try to set it intelligently.<br>
<br>
Best regards,<br>
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up &nbsp; | Frank Warmerdam, warmerdam@pobox.com<br>
light and sound - activate the windows | http://pobox.com/~warmerdam<br>
and watch the world go round - Rush &nbsp; &nbsp;| Geospatial Programmer
for Rent<br>
<br>
_______________________________________________<br>
Shapelib mailing list<br>
Shapelib@lists.maptools.org<br>
http://lists.maptools.org/mailman/listinfo/shapelib<br>
</tt></font>
<br>