Thanks a lot Ian,
that explains it all.

Cheers,
Andrea


On Mon, Aug 5, 2019 at 5:23 PM Ian Turton <ijtur...@gmail.com> wrote:

> Does this help?
> https://stackoverflow.com/questions/56902605/why-do-i-code-error-geotools-create-shapefile-chinese-setattribute-error
>
>
> Ian
>
> On Mon, 5 Aug 2019 at 15:59, andrea antonello <andrea.antone...@gmail.com>
> wrote:
>
>> Hi all,
>> I am in the need of writing a shapefile containing Arabic characters.
>> I followed the directions found in the guide:
>> http://docs.geotools.org/stable/userguide/library/data/shape.html
>> and set the "charset" parameter in the map that is used to create the
>> datastore.
>>
>> Checking in memory and printing to console the featurecollection's
>> attributes shows me that everything works fine right until before doing the
>> writing transaction.
>>
>> Then, if I try to open the file with a GIS or libreoffice or even read it
>> with geotools, the content is completely wrong, since the attributes names
>> where also Arabic and not only the names are scrambled but also the values
>> where not filled in (some of which just numbers). So I get empty bad
>> looking stuff.
>>
>> Any idea on what I might be still missing?
>> Thanks for any help,
>> Cheers,
>> Andrea
>> _______________________________________________
>> GeoTools-GT2-Users mailing list
>> GeoTools-GT2-Users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>>
>
>
> --
> Ian Turton
>
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to