It may be. Can you configure the tomcat start script to also pass this
option to the java command:

-Dfile.encoding=utf-8

I'm not sure how to do that on Windows, maybe this can help:

http://stackoverflow.com/a/11343571/620249

On 06/27/2016 11:54 AM, Julio Brum wrote:
> Sergiu,
> 
> the operating system encoding is "Cp1252". Is this the problem?
> 
> Cordialment,
> Julio
> 
> 2016-06-25 9:51 GMT-03:00 Sergiu Dumitriu <ser...@xwiki.org>:
> 
>> What is the operating system encoding? Try putting this in a new wiki
>> page and view it:
>>
>> {{groovy}}
>> print System.getProperty('file.encoding')
>> {{/groovy}}
>>
>> On 06/23/2016 06:38 PM, Julio Brum wrote:
>>> 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
>>
>> --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>> _______________________________________________
>> devs mailing list
>> devs@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
> _______________________________________________
> devs mailing list
> devs@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
> 


-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to