[fusion-commits] r2691 - sandbox/adsk/2.4j/widgets/Redline
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Thu Apr 25 18:59:12 PDT 2013
Author: liuar
Date: 2013-04-25 18:59:11 -0700 (Thu, 25 Apr 2013)
New Revision: 2691
Modified:
sandbox/adsk/2.4j/widgets/Redline/editmarkup.php
Log:
Submit on behalf of Andy Zhang.
Specify UTF-8 encoding of label text.
Modified: sandbox/adsk/2.4j/widgets/Redline/editmarkup.php
===================================================================
--- sandbox/adsk/2.4j/widgets/Redline/editmarkup.php 2013-04-24 11:03:56 UTC (rev 2690)
+++ sandbox/adsk/2.4j/widgets/Redline/editmarkup.php 2013-04-26 01:59:11 UTC (rev 2691)
@@ -367,7 +367,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