Hey all,<br>if anybody still need help with “Adding International character support for layer name“ here is a little advice. <br>1. in *.map file<br>   e.g:   LAYER<br>           NAME "Province"<br>           GROUP "Province"    (groupname in English)<br>           STATUS DEFAULT<br>           DATA ...<br>           TYPE POLYGON<br>           METADATA<br>             "OPACITY"    "50"<br><span style="font-weight: bold; color: rgb(255, 0, 51);">             "group_title"  "Chinese name"  *   (in Chinese)&nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp;&nbsp;  </span><br>           END<br>            ...<br><br>2. in kamap.js file<br>function _layer( o ) {<br>    this.domObj = null;<br>    this._map = null;<br>    this.name = (typeof(o.name) != 'undefined') ? o.name : 'unnamed';<br>    this.visible = (typeof(o.visible) != 'undefined') ? o.visible : true;<br>    this.opacity = (typeof(o.opacity) != 'undefined') ? o.opacity : 100;<br><br><span style="font-weight: bold; color: rgb(255, 0, 51);">    this.title = (typeof(o.title) != 'undefined') ? o.title : 'unnamed'</span>;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;                                                                                /* Add this row */<br><br>    this.imageformat = (typeof(o.imageformat) != 'undefined') ? o.imageformat : null;<br>    this.queryable = (typeof(o.queryable) != 'undefined') ? o.queryable : false;<br>    this.queryState = (typeof(o.queryable) != 'undefined') ? o.queryable : false;<br>    this.tileSource = (typeof(o.tileSource) != 'undefined') ? o.tileSource : 'auto';<br>    this.scales = (typeof(o.scales) != 'undefined') ? o.scales : new Array(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);<br>    this.toLoad=0;<br><br>3. in init.php file<br>        /* detect layer opacity (default 100% opaque) */<br>        $opacity = $oLayer-&gt;getMetaData('opacity');<br>        if ($opacity == '') {<br>            $opacity = 100;<br>        }<br>        <br><span style="font-weight: bold; color: rgb(255, 0, 51);">      $title = $oLayer-&gt;getMetadata('group_title');&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;</span>                                                                                                        /*add this row*/<br>            <br>        /* detect tile source options (cache, redraw, nocache, or auto) */<br>        $tileSource = strtolower($oLayer-&gt;getMetaData('tile_source'));<br>        if(($tileSource != 'cache') &amp;&amp; ($tileSource != 'redraw') &amp;&amp; ($tileSource != 'refresh') &amp;&amp; ($tileSource != 'nocache')) {<br>            $tileSource = 'auto';<br>        }<br>        <br><br>and  <br><br>                     "opacity:".$opacity.",".<br><br><span style="font-weight: bold; color: rgb(255, 0, 51);">                     "title:'".$title."',".</span>                                                                                                                                                &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; /* add this row*/<br><br>                     "imageformat:'".$imageformat."',".<br><br>4. in KaLegend.js file<br>insted “td.innerHTML = name;“ (maybe row number 409)<br>place „<span style="font-weight: bold; color: rgb(255, 0, 51);">td.innerHTML = oLayer.title;</span>“<br><br>That's all<br>

<p class="MsoNormal"><span style="" lang="EN-US">Can anybody
help me with “Adding International character support for class name“ please?<o:p></o:p></span></p>

<p class="MsoNormal"><span style="" lang="EN-US">Have a nice
time with Ka-Map<o:p></o:p></span></p>

<span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;" lang="EN-US">Jamie</span><br>