Re: [Geoserver-users] SLD encoding problem

2013-08-22 Thread Florent Gravin
Hi, It was just because of the server encoding system... The command #locale gives you the encoding system of the server .. You should have : LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC=fr_CH.UTF-8 LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8

Re: [Geoserver-users] SLD encoding problem

2013-07-30 Thread Vince Lotito
Did you declare encoding in the header? if you did then you try using CDATA section to wrap the text. if not then use a &#nnn; to pass in encoding that is not declared ( the text within a CDATA section is strictly limited to the characters available in the encoding). Vince Sent from my

Re: [Geoserver-users] SLD encoding problem

2013-07-30 Thread Florent Gravin
Hi, Is there a bug in geoserver about this ? I also have a SLD file in UTF8. When i upload it, it is well uploaded and validated, the accent are ok : X Forêts et fourrés humides Forêts et fourrés humides But when i click on "submit", it saves my SL

Re: [Geoserver-users] SLD encoding problem

2013-07-30 Thread Florent Gravin
Relativly to last mail : My GS is 2.3.3 branch, i'm on debian And if i go to my GS_DATA_DIR to open the uploaded SLD file, the encoding has been lost and the accent are bad like in GS ui. On Tue, Jul 30, 2013 at 11:35 AM, Florent Gravin < florent.gra...@camptocamp.com> wrote: > Hi, > > Is ther

Re: [Geoserver-users] SLD encoding problem

2013-07-03 Thread Kolosov Sergey
geowolf wrote > So you made it work? How did you do it? I load all styles with cURL and geoserver REST. I have a PHP script on the server which accepts sld (xml content) from the client and creates style in geoserver. It's kind of workaround, but i see no other way for now. -- View this message

Re: [Geoserver-users] SLD encoding problem

2013-07-03 Thread Andrea Aime
On Wed, Jul 3, 2013 at 2:09 PM, Kolosov Sergey wrote: > At last i made geoserver understand right encoding with REST services. > So you made it work? How did you do it? Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Ai

Re: [Geoserver-users] SLD encoding problem

2013-07-03 Thread Kolosov Sergey
At last i made geoserver understand right encoding with REST services. The reason i need right encoding in style so badly is using GetLegendGraphic request. I have unicode symbols in legend labels, so wrong encoding breaks legend's description. -- View this message in context: http://osgeo-org.

[Geoserver-users] SLD encoding problem

2013-04-11 Thread Сергей Колосов
Hi all! I have SLD file in UTF-8. And i can't load it with Style Editor. When i'm trying to load file with "Upload..." Style Editor shows me error "java.io.IOException: Error parsing content" And if i copy file content and just paste it into Style Editor field, error occurs later on layer previe