Yes, it will invoke iconv on every page.
If you worry about performance, it should be addressed by page caching,
using either Java (such as OScache), or web server (e.g. Apache cache).
Another solution could be tweaking header meta tags, but I don't know
how to do this in xwiki. Can anybody comment this?
Valdis
Hi
You're right, we're locate din West Europe and run on Windows...
That's the way.
As far as I understand your answer, it seems to work on page calls. But does it mean that
it will call iconv on the fly for every page ?
TIA
Fred
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la part de Valdis
Vitolinš
Envoyé : lundi 23 novembre 2009 18:11
À : XWiki Users
Objet : Re: [xwiki-users] Encoding questions
All progressive mankind is gone to UTF-8 long time ago, exception is
Americans and West-Europeans, especially if they run Windows servers;-)
So, my advice would be to migrate both systems to UTF-8.
But you can try to run some velocity/groovy script invoking iconv on the
fly.
Something like:
#set($cont= $xwiki.getURLContent("${url}view/${name}"))
## invoke iconv on $cont
$cont
Valdis
Hi everybody
We have an Xwiki production platform which includes the documentation of 2 of our
applications. Infortunately, they don't nécessarely speak to each other.
The xwiki configuration file indicates that the encoding is ISO-8859-1 which works fine
till now.
But one of the two applications wishes to give a XAR with xml files in ISO-8859-15...
Here is my question : can I put two encodings in the configuration file like
"xwiki.encoding=ISO-8859-1,ISO-8859-15" to allow multiple encodings for
different spaces ?
Thanks in advance
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users