The config looks ok, as far as I can see from the snippets.
(though I thought one could/should use UTF8 for LC_CTYPE / LC_COLLATE, too, but 
then I am no postgres expert;
in any case I do not think the DB level does matter here.)

It looks like the URL gets encoded twice somewhere.

Is there anything else in front of tomcat, or do you access the server directly 
on port 8080 ?

Clemens


From: Julio Brum
On:  Friday, 24.06.2016, 00:38
> I am using the XWiki version 7.4.1 with UTF-8 in Xwiki, tomcat8 and
> Postgres, but every time than I save a page with accent in the name, XWiki
> change the name. For example, I try to save a page with the name "é" and
> XWiki save "%25C3%25A9" Please, why this happens?
> 
> 
> 
> *My settings in windows:*
> 
> *tomcat\conf\server.xml:*
> 
>     <Connector port="8080" protocol="HTTP/1.1"
>   URIEncoding="UTF-8"
> 
> *xwiki.cfg:*
> 
> xwiki.encoding=UTF-8
> 
> *PostgreSQL:*
> 
> CREATE DATABASE wiki
>   WITH OWNER = postgres
>        ENCODING = 'UTF8'
>        TABLESPACE = pg_default
>        LC_COLLATE = 'Portuguese_Brazil.1252'
>        LC_CTYPE = 'Portuguese_Brazil.1252'
>        CONNECTION LIMIT = -1;
> 
> Thanks,
> Julio
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
> 
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to