<br><font size=2 face="sans-serif">Hanne:  If you are using ArcView
to display your shapefiles, you might want to take a look at the tech page:
<b>HowTo:  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&d=21106&errorCode=3"><font size=2 color=blue face="sans-serif">http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=21106&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 <fwarmerdam@gmail.com></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 <shapelib@lists.maptools.org></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 <shapelib@lists.maptools.org></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        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 <hanne.ribergaard@breakoutimage.dk>
wrote:<br>
> I have another beginner's problem: <br>
> <br>
> When call DBFWriteStringAttribute the Danish characters in pszFieldValue
are<br>
> displayed wrong in the final shape file. <br>
> <br>
> I'm sure that the sting is ok before calling DBFWriteStringAttribute.
<br>
> <br>
> When I call DBFAddField where pszFieldName is containing Danish letters,<br>
> there are no problems. This mean that the fieldnames in my shape file
look<br>
> 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 "dbfdump" 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   | Frank Warmerdam, warmerdam@pobox.com<br>
light and sound - activate the windows | http://pobox.com/~warmerdam<br>
and watch the world go round - Rush    | 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>