Javascript dbf中的错误文本(shapefile)

Javascript dbf中的错误文本(shapefile),javascript,leaflet,arcmap,Javascript,Leaflet,Arcmap,我有带插件的传单,我尝试在ArcMap中创建shapefile,并在属性表中设置值,如“ППППБССа”。下一步: function zoomToFeature_test(e) { map.fitBounds(e.target.getBounds()); e.target.bindPopup('Mytest: '+e.target.feature.properties.mytest); } function onEach

我有带插件的传单,我尝试在ArcMap中创建shapefile,并在属性表中设置值,如“ППППБССа”。下一步:

    function zoomToFeature_test(e) {
          map.fitBounds(e.target.getBounds());
          e.target.bindPopup('Mytest: '+e.target.feature.properties.mytest);
        }

    function onEachFeature_test(feature, layer) {
        layer.on({
                  click: zoomToFeature_test,
        });
     }


   var test_shp =  new L.Shapefile('/dostup/test_shp/3333',{
            onEachFeature: onEachFeature_test,
            style: style_test
    }).addTo(map);

“e.target.feature.properties.mytest”返回值类似于“e.target.feature.properties.mytest”

<?php
     echo iconv('cp1251', 'utf-8', iconv('utf-8', 'ISO-8859-1', $string));
?>


XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

<?php
     echo iconv('cp1251', 'utf-8', iconv('utf-8', 'ISO-8859-1', $string));
?>