[mapguide-trac] #684: Character encoding issues

MapGuide Open Source trac_mapguide at osgeo.org
Tue Aug 26 09:55:51 EDT 2008


#684: Character encoding issues
---------------------+------------------------------------------------------
 Reporter:  billc    |         Owner:  ksgeograf
     Type:  defect   |        Status:  assigned 
 Priority:  medium   |     Milestone:           
Component:  Maestro  |       Version:           
 Severity:  major    |    Resolution:           
 Keywords:           |   External_id:           
---------------------+------------------------------------------------------
Comment (by billc):

 Hi

 Thanks for the reply.

 As far as I can tell the offending character encoding is in the
 <FeatureName> tag:

 From Studio:

 {{{
 <FeatureName>KingOra:OSMM_MG~TOPOGRAPHICAREA_HP~GEOM</FeatureName>
 }}}


 From Maestro:

 {{{
 <FeatureName>KingOra:OSMM_MG-x7e-TOPOGRAPHICAREA_HP-x7e-GEOM</FeatureName>
 }}}


 Here's the full Studio layer:

 {{{

 <?xml version="1.0" encoding="UTF-8"?>
 <LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xsi:noNamespaceSchemaLocation="LayerDefinition-1.2.0.xsd" version="1.2.0">
   <VectorLayerDefinition>
 <ResourceId>Library://OSMM/Connections/osmm_mg_KingFDO.FeatureSource</ResourceId>
     <FeatureName>KingOra:OSMM_MG~TOPOGRAPHICAREA_HP~GEOM</FeatureName>
     <FeatureNameType>FeatureClass</FeatureNameType>
     <Geometry>GEOM</Geometry>
     <VectorScaleRange>
       <PointTypeStyle>
         <DisplayAsText>false</DisplayAsText>
         <AllowOverpost>false</AllowOverpost>
         <PointRule>
           <LegendLabel>
           </LegendLabel>
         </PointRule>
       </PointTypeStyle>
       <LineTypeStyle>
         <LineRule>
           <LegendLabel>
           </LegendLabel>
         </LineRule>
       </LineTypeStyle>
       <AreaTypeStyle>
         <AreaRule>
           <LegendLabel>
           </LegendLabel>
           <AreaSymbolization2D>
             <Fill>
               <FillPattern>Solid</FillPattern>
               <ForegroundColor>ffffffff</ForegroundColor>
               <BackgroundColor>ff000000</BackgroundColor>
             </Fill>
             <Stroke>
               <LineStyle>Solid</LineStyle>
               <Thickness>0.0</Thickness>
               <Color>ff000000</Color>
               <Unit>Centimeters</Unit>
               <SizeContext>DeviceUnits</SizeContext>
             </Stroke>
           </AreaSymbolization2D>
         </AreaRule>
       </AreaTypeStyle>
     </VectorScaleRange>
   </VectorLayerDefinition>
 </LayerDefinition>
 }}}


 And here's the full Maestro layer:

 {{{

 <?xml version="1.0" encoding="utf-8"?>
 <LayerDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xsi:noNamespaceSchemaLocation="LayerDefinition-1.2.0.xsd" version="1.2.0">
   <VectorLayerDefinition>
 <ResourceId>Library://OSMM/Connections/osmm_mg_KingFDO.FeatureSource</ResourceId>
     <FeatureName>KingOra:OSMM_MG-x7e-TOPOGRAPHICAREA_HP-x7e-
 GEOM</FeatureName>
     <FeatureNameType>FeatureClass</FeatureNameType>
     <Geometry>GEOM</Geometry>
     <VectorScaleRange>
       <PointTypeStyle>
         <DisplayAsText>false</DisplayAsText>
         <AllowOverpost>false</AllowOverpost>
         <PointRule>
           <LegendLabel />
         </PointRule>
       </PointTypeStyle>
       <LineTypeStyle>
         <LineRule>
           <LegendLabel />
         </LineRule>
       </LineTypeStyle>
       <AreaTypeStyle>
         <AreaRule>
           <LegendLabel />
           <AreaSymbolization2D>
             <Fill>
               <FillPattern>Solid</FillPattern>
               <ForegroundColor>ffffffff</ForegroundColor>
               <BackgroundColor>ff000000</BackgroundColor>
             </Fill>
             <Stroke>
               <LineStyle>Solid</LineStyle>
               <Thickness>0.0</Thickness>
               <Color>ff000000</Color>
               <Unit>Centimeters</Unit>
               <SizeContext>DeviceUnits</SizeContext>
             </Stroke>
           </AreaSymbolization2D>
         </AreaRule>
       </AreaTypeStyle>
     </VectorScaleRange>
   </VectorLayerDefinition>
 </LayerDefinition>

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/684#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list