[ 
http://jira.codehaus.org/browse/GEOT-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Aime reopened GEOT-1785:
-------------------------------

      Assignee: Andrea Aime  (was: Jesse Eichar)

Reopening to change the "fix for" tag

> dbf header not support internationalization
> -------------------------------------------
>
>                 Key: GEOT-1785
>                 URL: http://jira.codehaus.org/browse/GEOT-1785
>             Project: GeoTools
>          Issue Type: Bug
>          Components: data shapefile
>    Affects Versions: 2.5-M0
>         Environment: Windows XP 5.1.2600 Service Pack 2 Build 2600, java 
> version "1.5.0_15", x86 Family 6 Model 13 Stepping 6 GenuineIntel ~1188 Mhz
>            Reporter: You Yun Hua
>            Assignee: Andrea Aime
>            Priority: Critical
>             Fix For: 2.7-RC2
>
>         Attachments: DbaseFileHeader.java
>
>
> Bug brief discription:
> When modify or add data to a shapefile whose dbf header records include 
> internationalization chars such as Chinese, the dbf file will be crashed. 
> Cause:
> force cast char to byte
> Position:
> lines 587-589 of 
> ...\modules\plugin\shapefile\src\main\java\org\geotools\data\shapefile\dbf\DbaseFileHeader.java
> Solution:
> getBytes of char first, then write byte

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to