[mapguide-trac] #617: Utf8 support for Selection (attribute value
display)
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Jul 4 18:42:50 EDT 2008
#617: Utf8 support for Selection (attribute value display)
--------------------------+-------------------------------------------------
Reporter: poulet1212 | Owner:
Type: defect | Status: new
Priority: medium | Milestone:
Component: Fusion | Version: 2.0.1
Severity: major | Keywords:
External_id: |
--------------------------+-------------------------------------------------
Component:
Selection tool, String Attribute with accents do not display properly
Bug:
String values are not properly read from featureReader to support Utf8
Charset.
Fix:
Simply changing in this file:
www\fusion\MapGuide\php\Utilities.php
Function: GetPropertyValueFromFeatReader
this:
{{{
case MgPropertyType::String :
$val = $featureReader->GetString($propertyName);
break;
}}}
to this:
{{{
case MgPropertyType::String :
$val = utf8_decode($featureReader->GetString($propertyName));
break;
}}}
fixes this problem
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/617>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list