Fórum

Issue with accented characters after importing lar file

thumbnail
Jacques Traore, modificado 10 Anos atrás.

Issue with accented characters after importing lar file

Junior Member Postagens: 49 Data de Entrada: 21/01/13 Postagens Recentes
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, modificado 10 Anos atrás.

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

Junior Member Postagens: 49 Data de Entrada: 21/01/13 Postagens Recentes
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.