[Geoserver-devel] [JIRA] (GEOS-8586) Wrong character encoding

Giancarlo Bruno Honores created an issue

GeoServer / BugGEOS-8586

Wrong character encoding

Issue Type:

BugBug

Affects Versions:

2.12.1

Assignee:

Unassigned

Attachments:

legend.png, wms.png

Created:

14/Feb/18 10:23 PM

Priority:

MediumMedium

Reporter:

Giancarlo Bruno Honores

Good day,
I’ve tried to show label to my wms, but show wrong characteres, when preview the legend is show worng characteres too, i use the follow code in my style:
<?xml version=“1.0” encoding=“UTF-8”?>
<StyledLayerDescriptor version=“1.0.0” xmlns=“http://www.opengis.net/sld” xmlns:ogc=“http://www.opengis.net/ogc” xmlns:xlink=“http://www.w3.org/1999/xlink” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd”>
<NamedLayer>
<Name>Aeropuerto</Name>
<UserStyle>
<Name>Aeropuerto</Name>
<Title>Aeropuerto</Title>
<FeatureTypeStyle>
<Rule>
<Title>Aeropuerto</Title>
<!–<MaxScaleDenominator>800000</MaxScaleDenominator> –>
<PointSymbolizer>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type=“simple” xlink:href=“file:///usr/share/geoserver/data_dir/styles/aerodromo-2.png” />
<Format>image/png</Format>
</ExternalGraphic>
<Size>
<ogc:Literal>32</ogc:Literal>
</Size>
</Graphic>
</PointSymbolizer>
</Rule>

<!-- Para mostrar label –>
<Rule>
<Title>Label</Title>
<MaxScaleDenominator>5000</MaxScaleDenominator>

<TextSymbolizer>

<Label>
<ogc:PropertyName>label</ogc:PropertyName>
</Label>

<Font>
<CssParameter name=“font-family”>Times New Roman</CssParameter>
<CssParameter name=“font-style”>Normal</CssParameter>
<CssParameter name=“font-size”>10</CssParameter>
</Font>

<LabelPlacement>
<PointPlacement>
<Displacement>
<DisplacementX>0</DisplacementX>
<DisplacementY>-22</DisplacementY>
</Displacement>
</PointPlacement>
</LabelPlacement>

</TextSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>

Thanks

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100079-sha1:45f9e20)

Atlassian logo