[Shapelib] Re: [Gdal-dev] Shapelib and UNICODE

Frank Warmerdam warmerdam at pobox.com
Thu Nov 11 12:21:45 EST 2004


David Garcia wrote:
> 
> Frank Warmerdam wrote:
> 
>> David Garcia wrote:
>>
>>>
>>> Frank,
>>>
>>> Find attached the test files in unicode.
>>>
>>> Do you plan to update shapelib to support UNICODE or should I (try 
>>> to) do it?
>>
>>
>>
>> David,
>>
>> OK, I have dumped the dbf files with dbfdump and it seems to be capturing
>> the unicode properly. In what way do you feel that shapelib isn't 
>> supporting
>> unicode properly? Is it just that there is no clue returned to 
>> indicate that
>> the file is in unicode? The text itself seems OK.
>>
>> At this point it isn't clear what I would change in the code.
>>
>> Best regards,
>>
> 
> Frank,
> 
> Using dbfdump from shapefile version 1.2.10 I got this header:
> Field 0: Type=Integer, Title=`êÛÿAöÈìå', Width=10, Decimals=0
> Field 1: Type=String, Title=`è¯É}é╠æ¬ù╩', Width=30, Decimals=0
> Field 2: Type=String, Title=`ÄÝò╩ïµò¬', Width=30, Decimals=0
> Field 3: Type=String, Title=`╬▀Ï║̦û╝Å╠', Width=30, Decimals=0
> Field 4: Type=Integer, Title=`ìsÉ¡âRü[âh', Width=10, Decimals=0
> Field 5: Type=String, Title=`ÄsƼæ║û╝', Width=30, Decimals=0
> ...
> 
> It is the same that you are getting?

David,

My terminal window appears to have a weaker set of fonts than my web
browser as it didn't look quite that interesting, but yes, I am getting
essentially the same result.

But then that is the actual unicode values displayed in ASCII as far as
I can tell.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Shapelib mailing list