[Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-11 Thread Danilo da Silveira Figueira
Hello all, I need some help with the regex of the function "strReplace" because according to the docs http://docs.geoserver.org/stable/en/user/filter/function_reference.html i can use any regular expression from java, but when i use the expression "\p{IsM}+" is not working as on java, i made the t

Re: [Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-11 Thread Andrea Aime
On Wed, Feb 11, 2015 at 9:47 PM, Danilo da Silveira Figueira < danilomal...@hotmail.com> wrote: > Hello all, > > I need some help with the regex of the function "strReplace" because > according to the docs > http://docs.geoserver.org/stable/en/user/filter/function_reference.html i > can use any re

Re: [Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-12 Thread Danilo da Silveira Figueira
Hi Andrea thanks for your reply, Well i am using files instead of DB but i guess that the enconding problem can be the same, i dont have any clue about how to solve this. My guesses, if it is a enconding problem, there is a tool that can automatically correct the *.idb files to utf-8, or can i spe

Re: [Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-12 Thread Andrea Aime
On Thu, Feb 12, 2015 at 3:19 PM, Danilo da Silveira Figueira < danilomal...@hotmail.com> wrote: > Hi Andrea thanks for your reply, > > Well i am using files instead of DB but i guess that the enconding problem > can be the same, i dont have any clue about how to solve this. > My guesses, if it is

Re: [Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-12 Thread Danilo da Silveira Figueira
Sorry, i mean to change the Shapefile encondig to utf-8. What i said about idb, is because the string names of the shapefile usually are contained in a "idb" file. att 2015-02-12 12:27 GMT-02:00 Andrea Aime : > On Thu, Feb 12, 2015 at 3:19 PM, Danilo da Silveira Figueira < > danilomal...@hotmai

Re: [Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-12 Thread Danilo da Silveira Figueira
Hi Andrea, i have tried changing the encoding of the server but it does not solved the problem, i guess that the problem is really in geoserver. att 2015-02-12 11:32 GMT-03:00 Danilo da Silveira Figueira < danilomal...@hotmail.com>: > Sorry, i mean to change the Shapefile encondig to utf-8. > >

Re: [Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-12 Thread Andrea Aime
On Thu, Feb 12, 2015 at 3:32 PM, Danilo da Silveira Figueira < danilomal...@hotmail.com> wrote: > Sorry, i mean to change the Shapefile encondig to utf-8. > > If the dbf file is really in utf8, have you tried changing the charset in the data store config dialog? There should be a drop down there

Re: [Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-12 Thread Danilo da Silveira Figueira
Well, after changing the storage encondig the strings are showed correctly in the WMS respose but the records yet still having accents. =/ 2015-02-12 12:54 GMT-03:00 Andrea Aime : > On Thu, Feb 12, 2015 at 3:32 PM, Danilo da Silveira Figueira < > danilomal...@hotmail.com> wrote: > >> Sorry, i me

Re: [Geoserver-users] Styling Sld using strReplace to ignore accented characters

2015-02-12 Thread Danilo da Silveira Figueira
It fails even when i try something like this: áéíÀÈ`RÌ \p{IsM}+ a true 2015-02-12 13:32 GMT-03:00 Danilo da Silveira Figueira < danilomal...@hotmail.com>: > Well, after changing the storage encondig the strings a