From the standpoint of a Japanese Zope user:
Would it be unreasonable to suggest that the default MIME type assigned by Zope to documents containing 'binary' information (i.e. 8-bit characters) be something other than 'application/x-octet-stream'? I don't know if there's a better way of doing this, but since most Zope documents don't have a file extension, the MIME type of the document is detected by looking at the content in the case of DTML Documents and Methods - I don't know what the case is with other non-US character sets, but this cause me problems... My temporary fix is to change the default MIME type (in $ZOPE/lib/python/OFS/content_types.py) to 'text/html'. That way, my Japanese documents come out in Japanese. -Brian Hooper Digital Garage, Inc. Robin Becker <robin@jessikat.demon.co.uk> wrote:
In article <37A361B2.45A9E28C@ibm.net>, Itamar S.-T. <itamars@ibm.net> writes
Robin Becker wrote:
I was demonstrating the implementation in Zope of my Generational Accounting web model. The Academic saw how marvellous it was and wanted immediately to change some of the text in the pages. It was in word so I said 'save as html' and then we'll hack it into the database pages. Foolish me. Word inserts many strange characters into it's version of HTML. One of them being ? character 0x92. This causes the page to start flinging out save as dialogs.
Can someone enlighten me as to what characters may be safely embedded/used in Zope DTML. We figured 0x92 fairly easily. The next document had something else weird and I haven't yet found out what.
There's utility somewhere, IIRC, that fixes all those wierd chars from Windows in HTML. Try searching through Freshmeat.
the upshot of this is don't use word to save as html as it won't be transferable to netscape via zope. -- Robin Becker
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://www.zope.org/mailman/listinfo/zope-dev
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For non-developer, user-level issues, zope@zope.org, http://www.zope.org/mailman/listinfo/zope )