Hello, I have a problem which I think comes from encoding, but I couldn't find out for now how to solve it:
In a new template, I create links that call the same page with some GET-parameters, which I encode by the javascript method "encodeURI". (for example, this turns é into %C3%A9). When using the template on 2 different Jahia servers (being identical in their jahia webapp), I get different results when displaying the encoded parameters received from the request: for the one it shows as it should, for the other special characters are not displayed correctly/replaced by bizarre characters, like é instead of é. When using the "escape" method instead of "encodeURI" (thus encoding é as %E9), it is the opposite: the first site has problems displaying special characters (a square instead of the é), and the second one displays them okay. I read that the character "é" is encoded to %C3%A9 in UTF-8, and encoded to %E9 in iso-8859-1. As in both cases the same template is used (which uses UTF-8 as charset), it seems to me as if the two servers use different encoding, although their jahia webapp is the same. Does anyone know how I can find out the difference and how to solve this problem in my template (retrieving the used encoding for example)? Thanks! Regards, Juliette
