[Geoserver-devel] [JIRA] (GEOS-9595) Wrong charaster encoding in stile legend preview

Alexander Bobrov created an issue

GeoServer / BugGEOS-9595

Wrong charaster encoding in stile legend preview

Issue Type:

BugBug

Affects Versions:

2.17.0

Assignee:

Unassigned

Attachments:

correct legend by wms.png, demo_abonents.sld, wrong legend.png

Created:

29/Apr/20 1:50 PM

Environment:

microsoft windows 10, java 1.8.0.212, geoserver 2.17.0, ms sql 2017

Priority:

MediumMedium

Reporter:

Alexander Bobrov

There are two way for preview legend of style. The first is wms getLegendGraphic request and it have execute good. The second way is preview style legend by special method in style edit page and it havent work correct with cyrillic particulary.
The url for wms way be like this
http://127.0.0.1:8083/geoserver/ows?service=wms&request=GetLegendGraphic&format=image/png&width=50&height=50&layer=te:AbonentsTE&legend_options=forceLabels:on
And url for preview legend at style edit page be like this
http://127.0.0.1:8083/geoserver/web/wicket/bookmarkable/org.geoserver.wms.web.data.StyleEditPage?9-IResourceListener-styleForm-context-panel-legendContainer-legendImg&name=demo_abonents&workspace=te&antiCache=1588158527777

Also I attached result for both methods and style sld file

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#100125-sha1:e06514a)

Atlassian logo