[fusion-commits] r2696 - trunk/widgets/Redline

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu May 9 23:19:03 PDT 2013


Author: liuar
Date: 2013-05-09 23:19:02 -0700 (Thu, 09 May 2013)
New Revision: 2696

Modified:
   trunk/widgets/Redline/editmarkup.php
Log:
Submit on behalf of Andy Zhang.  
Specify UTF-8 encoding of red line marker label text.




Modified: trunk/widgets/Redline/editmarkup.php
===================================================================
--- trunk/widgets/Redline/editmarkup.php	2013-05-08 11:43:21 UTC (rev 2695)
+++ trunk/widgets/Redline/editmarkup.php	2013-05-10 06:19:02 UTC (rev 2696)
@@ -418,7 +418,7 @@
                     $selected = 'selected';
                     foreach($markupFeatures as $markupId => $markupText) {
                 ?>
-                <option value="<?= $markupId ?>" <?=$selected ?> ><?= (strlen($markupText) > 0) ? htmlentities($markupText) : '[no text]' ?></option>
+                <option value="<?= $markupId ?>" <?=$selected ?> ><?= (strlen($markupText) > 0) ? htmlentities($markupText, ENT_COMPAT, 'UTF-8') : '[no text]' ?></option>
                 <?php
                         $selected = '';
                     }



More information about the fusion-commits mailing list