Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

Label display problem with Shapefiles Widget version 3.6

$
0
0
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.

Attachment 30306


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

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.
Attached Thumbnails
Click image for larger version

Name:	2014-01-07_172841.jpg‎
Views:	N/A
Size:	21.9 KB
ID:	30306  
Attached Files

Viewing all articles
Browse latest Browse all 2097

Trending Articles