留言板

Issue with accented characters after importing lar file

thumbnail
Jacques Traore,修改在10 年前。

Issue with accented characters after importing lar file

Junior Member 帖子: 49 加入日期: 13-1-21 最近的帖子
Hi there,
From my dev environment, I export a lar file (Site Pages --> Export) then I try to import the file from my production web application (Site Pages --> Import).
After import, all accented characters become weird. For example "à" becomes "é". This is really annoying for me since my web application is bilingual (English and French). I've been looking for a solution for this for almost a year but didn't find any.

Thanks in advance for your help.
thumbnail
Jacques Traore,修改在10 年前。

RE: Issue with accented characters after importing lar file (答复)

Junior Member 帖子: 49 加入日期: 13-1-21 最近的帖子
Problem solved.
My issue was about tomcat server.
In my dev environment (eclipse + LR ide) tomcat is set to start with -Dfile.encoding=UTF8 while in my prod environment it is set to start in windows service mode.
So, to apply the start option, I had to go the tomcat's java options (tomcat7w.exe --> Java --> Java Options) and add the above parameters.
Restart the server and that should be it.