[xwiki-users] Encoding questions
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
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
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 : [email protected] [mailto:[email protected]] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi As I repleid, I understand your meaning. Meanwhile is it possible to put several encoding in the configuration file as I proposed ? Thanks Fred -----Message d'origine----- De : [email protected] [mailto:[email protected]] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
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 : [email protected] [mailto:[email protected]] 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
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 : [email protected] [mailto:[email protected]] 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/
participants (3)
-
Gallois Frédéric -
Sergiu Dumitriu -
Valdis Vītoliņš