Setting ecto up to pre-process nasty characters so they pass the zope zml-rpc api

27-November-2004

email this

Graham had some problems writing in Nissus Writer (rtf format saving) and then copying and pasting into ecto for posting...

The problem was that apostrophes were appearing as high-ascii characters like acute-accented letter-i's.

The current implementation of knotes uses default settings for Zope's XML-RPC engine and underlying XML parsing, which coughed on these characters.

We might be able to change the settings at the server, though I expect they already accept any valid unicode characters.

So, as a temporary stopgap, I explored ecto's settings... it is indeed possible to preprocess the nasties, encoding them as html entities. See this screenshot:

Ecto-Prefs-Preprocess

The results will not always be as expected for these weird characters. By the way, where do they all come from, all these special quote and apostrophe characters generated especially by MSWord? Just when I think I've seen them all, another pops up. :O)


Mike Malloch; 27-November-2004 10:54:07; forum (0) help

Comments please

If you are already registered here, please click the "Login" button to send your username/password with the comment. Click the "Anonymous" button to leave a comment without logging in.

Please tell us who you are

E-Mail Address (Required)
We need a valid email address in order for you to post a comment. You will recieve an email containing a special validation link. The comment will not be published until validated
Name
Please leave your name
Title
Lead-in
Body Text ( HTML tags are allowed )
Validation
Please enter the text from the image above
Preview your comment

Linking and trackbacks

When linking to this weblog entry, please use the 'permalink', which is http://www.knownet.com/Members/mmalloch/blog/entries/2471281415

Some weblog systems will ask you for a "trackback link" (most systems will find this special 'hook' automatically, in the code for this page).

The trackback link for this entry is http://www.knownet.com/Members/mmalloch/blog/entries/2471281415/tb