On 11/24/2009 10:29 AM, Gallois Frédéric wrote:
Hi
As I repleid, I understand your meaning. Meanwhile is it possible to put several encoding
in the configuration file as I proposed ?
No, that's not possible.
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
--
Sergiu Dumitriu
http://purl.org/net/sergiu/