[opencms-dev] Urgent: static export file encoding
Chirouze Olivier
olivier.chirouze at volvo.com
Mon Oct 13 18:51:20 CEST 2008
Hi,
Thanks for your response.
In fact, I was already looking at this ;-)
But just setting client.encoding to ISO-9851-1 (like my html files)
didn't solve it.
What I had to do is to set everything to UTF-8:
- the template charset
- client.encoding
And that solved it :-)
Thanks!
Olivier
> -----Original Message-----
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Georgi
> Naplatanov
> Sent: 13 October 2008 17:47
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] Urgent: static export file encoding
>
> Hello, Chirouze, as i remeber java use character encoding from the
> operating system when writes character data to the file systems, so
> there are 2 options:
>
> - use java -Dfile.encoding=... , see
> http://www.jguru.com/faq/view.jsp?EID=78088
> - change the source code and set character encoding what you want
> - change the locale of operating system envirinment
>
> linux examle
>
> $ export LOCALE=en_US.UTF-8
>
> Best regards
> Georgi
>
> Chirouze Olivier wrote:
> > Hi folks,
> >
> > My template html files get their special characters all
> messed up when
> > "static exported".
> > What I mean is: an html page with characters with accents,
> for instance,
> > that look perfect online (IE + Firefox), get wrong
> characters when it
> > goes to the filesystem.
> >
> > I guess it has to do with how OpenCms encodes files on the
> filesystem
> > (file.encoding java property?) but I didn't manage to fix that.
> >
> > Please help, that's kind of urgent!!
> >
> > Thanks
> >
> > Olivier
> >
> >
> >
> >
> >
> --------------------------------------------------------------
> ----------
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the
> list, please visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list,
> please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list