Select to view content in your preferred language

Label display problem with Shapefiles Widget version 3.6

390
0
01-07-2014 12:18 AM
by Anonymous User
Not applicable
Original User: ZTristone

Dear Robert:
     I'm using your Shapefiles Widget version 3.6, and find an issue with label display on the map. I choose "NAME" as the label field and the value of "NAME" is Chinese character in my test shapefile. In the end, as you see in the picture, the label is garbled.Looking forward to your help to fix it.Thanks a lot.

[ATTACH=CONFIG]30306[/ATTACH]


////////////////////////////////////////////////////////////////////////////////////////

Well, after some efforts, I have this issue fixed  by :
change
       values[field.name]=src.readUTFBytes(field.length);
to
       values[field.name]=src.readMultiByte(field.length,"utf8");
in DbfRecord.as.
0 Kudos
0 Replies