Hi Abdul, My first suggestion would be to verify that the fonts you're using include glyphs for Gujarati script, and that the SLD file is actually saved in UTF-8. (Simply writing it in the preamble doesn't help you if the encoding is off.)
Are you writing the SLD in a text editor and pasting it in, or are you writing it directly in the online editor? Cheers, Kristian On Wed, May 30, abdul.zummerwala--- via Geoserver-users wrote: > Hi, > > Please refer to this image for the legend preview and disregard the link in > the previous mail. > > https://imgur.com/UE6khQj > > I have also included the following line in the SLD > > <?xml version="1.0" encoding="UTF-8"?> > > > Thanks, > Abdul Zummerwala > > -------------------------------------------- > On Wed, 5/30/18, abdul.zummerwala--- via Geoserver-users > <[email protected]> wrote: > > Subject: [Geoserver-users] SLD and support for UTF-8 for non-ASCII characters > To: [email protected] > Date: Wednesday, May 30, 2018, 10:01 AM > > Hi, > > I am facing a problem with including > non-ASCII characters in the SLD file for generating the > legend. > I want to include the text - > https://imgur.com/G0dHnvV > This is how the legend previews - http://imgur.com/SREGJGo > > This is included in the wrapper.conf > file > > """ > # Java Additional Parameters > wrapper.java.additional.1=-Djetty.base=. > wrapper.java.additional.2=-DGEOSERVER_DATA_DIR="%GEOSERVER_DATA_DIR%" > wrapper.java.additional.3=-Djava.io.tmpdir=./work > wrapper.java.additional.4=-Dfile.encoding=UTF-8 > """ > > The OGC service global options is set > with UTF-8 > > My computer has the required language > pack installed: LIP_gu-IN-64bit.mlc > > Any solutions? > > Regards, > > Abdul Zummerwala ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
