Hello all,
For the future reference, if someone faces the same, it was a typo when
defining encoding in JAVA_OPTS.
Adding -Dfile.encoding=UTF-8 to JAVA_OPTS in catalina.sh solved the problem.
Cheers,
Hugo
On Thu, Nov 8, 2012 at 12:10 PM, Hugo <hfpmart...@gmail.com> wrote:
> Hello all,
>
> I'm facing some problems with encodings on a RHEL server. When uploading
> an SLD through Geoserver interface all portuguese characters are being
> converted into a question mark.
>
> I have defined Geoserver character encoding as UTF-8 and my SLD encoding
> as well. Nevertheless, geoserver is writing the sld files with us-ascii
> encoding. I've tried to force JAVA to use UTF-8 encoding through the option
> -DFile.encoding=UTF-8 (tried it on JAVA_OPTS and CATALINA_OPTS) but results
> are the same.
>
> The OS lang returned by env | grep LANG is en_US.UTF-8.
>
> What am i missing here?
> Thanks in advance.
> Regards,
>
> --
> Hugo Martins
>
>
--
Hugo Martins
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users