Fórum

Remote publishing with åäö characters in article problem

Christian Johannesson, modificado 14 Anos atrás.

Remote publishing with åäö characters in article problem

New Member Postagens: 4 Data de Entrada: 20/05/09 Postagens Recentes
I would like to have some tips/help on a problem I have.

The problem is:

Machine A have an article on a page with swedish characters(åäö) when I publish the page to machine B the text in the article gets funky all the swdish characters is replaced by crapp.

When I look at Machine A´s DB the content in the article looks right (and the table is in utf-8) and when I look in machine B´s db the article is faulty(table also in utf-8).

Is this a bug or is there something I have missed?
Liferay version is 5.2.2 with tomcat 5 both are windows machines (tryed with 1 linux and one windows same problem)

Any answer/help would be much appreciated!
thumbnail
Olaf Kock, modificado 14 Anos atrás.

RE: Remote publishing with åäö characters in article problem

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
Just a quick shot: Maybe your problem is related to this?
Christian Johannesson, modificado 14 Anos atrás.

RE: Remote publishing with åäö characters in article problem

New Member Postagens: 4 Data de Entrada: 20/05/09 Postagens Recentes
Maybe I´m to much a novice, but I could not understand his problem in that thread.
thumbnail
Olaf Kock, modificado 14 Anos atrás.

RE: Remote publishing with åäö characters in article problem

Liferay Legend Postagens: 6403 Data de Entrada: 23/09/08 Postagens Recentes
jenny heinrich talks about problems in the mod_jk / apache configuration. I thought this might ring a bell - if you use mod_jk and apache. Also, she talked about introducing a servlet filter to explicitly set utf-8 encoding.

I've found something more in LEP-3903, perhaps you can find your solution there . In short: See if your tomcat/conf/server.xml contains URIEncoding="UTF-8" in the connectors used. Check this on both involved machines.

Sorry, this is my result after some quick searching. I'll keep an eye on this thread and (time permitting) give some more information unless somebody else steps in. Will take a while though.
Christian Johannesson, modificado 14 Anos atrás.

RE: Remote publishing with åäö characters in article problem

New Member Postagens: 4 Data de Entrada: 20/05/09 Postagens Recentes
Both servers has URIEncoding="UTF-8", and we dont use apache / mod_jk

Tryed with a filter but didnt do anything.

So I´m still stuck with not being able to get correct content when using remote publish.

Thanks for the help so far even tho it hasent solved my issue!
Christian Johannesson, modificado 14 Anos atrás.

RE: Remote publishing with åäö characters in article problem

New Member Postagens: 4 Data de Entrada: 20/05/09 Postagens Recentes
I cant be the only one with this problem can I?
And if I am, could some please assist me and tell me what I have missed?