[opencms-dev] FCKedit: Null characters also 6.2.1

Shi Yusen shiys at langhua.cn
Tue Jun 6 15:40:50 CEST 2006


As I know, it's java problem.

You should set the content-encoding property of your file in OpenCms to the
right one first. By default, the OpenCms content-encoding is UTF-8, it may
cause the problem you described during copy and paste a content to an
OpenCms editor.

Regards,

Shi Yusen
--------------------------------------------------------------
Beijing Langhua Ltd.
Tel: 86-10-88514088, 88514099
Fax: 86-10-88514099
Email: shiys at langhua.cn
Website: http://www.langhua.cn/
--------------------------------------------------------------

-----邮件原件-----
发件人: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.
org] 代表 Jonathan Woods
发送时间: 2006年6月6日 17:33
收件人: 'The OpenCms mailing list'
主题: RE: [opencms-dev] FCKedit: Null characters also 6.2.1

Christian -

Did you have any luck sorting this out?  I'm coming across the same problem.
(Sorry if I've missed a more recent posting.)

Jon

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christian Steinert
Sent: 20 May 2006 22:27
To: The OpenCms mailing list
Subject: [opencms-dev] FCKedit: Null characters also 6.2.1

Hi all,

I still have lots of trouble with NULL - characters popping up in FCKedit,
when trying to save various documents.
The problem persists in 6.2.1.

I have sniffed the network traffic. The traffic that comes from the browser
is still fine, but the traffic that comes back after saving has failed
contains null-bytes.
So it seems that the server side is introducing the problem.

Does anyone have a good idea where I could take look in the opencms code to
figure out what could be going wrong?
I have looked a bit into the  package and also into
org.opencms.util.CmsHtmlConverter - esp. the convertToString(...) method; so
far I found nothing that seems really suspicious.

Is there any other place, where complex replacements are done with the html
code?

Does anyone have an idea, where these nasty zero-bytes might creep in? 
Even the remotest and stranges ideas are appreciated, as I'm really really
stuck with this.

Thanks in advance
Christian





More information about the opencms-dev mailing list