Content pasted into the online editor won't save

Author Message

Graham Tillotson

Monday 05 May 2008 9:08:58 am

I recently upgraded a site to eZ Publish 4, and I'm seeing some strange behavior with the Online Editor (OE). In XML Block fields, I can type content in and the content will be saved, but when I copy and paste in from another document (DOC file, web page, etc.) the content is not saved.

Has anyone else run into this problem? I've tested it on Mac (Firefox) and Windows (Firefox, IE 7) and the results are the same. There are no entries in the error log that are related to the online editor.

Thanks much!
Graham

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Graham Tillotson

Monday 05 May 2008 10:40:42 am

I think I'm answering my own question here . . .

I got the message below and then realized my database collation was latin, not UTF8:

DOMDocument::loadXML() [<a href='function.DOMDocument-loadXML'>function.DOMDocument-loadXML</a>]: Input is not proper UTF-8, indicate encoding !
Bytes: 0x92 0x73 0x20 0x74 in Entity, line: 2 in /home/north32/public_html/cms/extension/ezdhtml/ezxmltext/handlers/input/ezdhtmlxmlinput.php on line 445

I'm sure this is at the heart of it and will post an update when I get it all sorted out.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Graham Tillotson

Monday 05 May 2008 10:42:49 am

Sure enough. Just changed the collation on the tables to UTF8 and all is well in the world.

DUO : CONSULTING
Web content management experts
www.duoconsulting.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.