Trying to understand I8N...

Zeljko Trogrlic zeljko_t at post.htnet.hr
Sat Apr 7 20:00:46 CEST 2007


Vincent Massol wrote:
> Exactly which is why this is best left to the user to decide which 
> encoding they need to use... I don't think we should force our encoding. 
> However I'm proposing that we do: System.setProperty("file.encoding", 
> getParam("xwiki.encoding")) in XWiki initialization to set the platform 
> encoding to be the encoding specified in xwiki.cfg.

I think it should be vice-versa. Stick to platform or use UTF-8 don't 
add new encoding parameter.

The only thing I am not sure about is database. I think that some 
databases doesn't support collation for different languages for UTF-8. 
Is it important for XWiki?





More information about the devs mailing list