[Zope-dev] Strange Characters and Zope

Robin Becker robin@jessikat.demon.co.uk
Sat, 31 Jul 1999 09:55:47 +0100


In article <4.1.19990731064425.0092cc30@mail.atmm.nl>, Martijn Pieters
<mj@antraciet.nl> writes
>At 04:06 31-7-99 , Robin Becker wrote: 
>
>>
>> This is the test Document. ’ 
>>
>> </HTML>
>>
>> ok this is viewable by netscape for me via Zope so it seems Zope is
>> making decisions about content type based on what it sees not what I
>> tell it in the meta things.
>
>
>Have you tried <dtml-call "RESPONSE.setHeader('content-type', 'text/html')"> ?
>Judging from the source, that would override Zope's content guessing game.
yes that's the only thing that works. I used sockspy to see that Zope
would otherwise have changed the content type to octal/bytes
>
>Of course, Word should convert the 0x92 character to an HTML entity anyway, but
>hey, we spend our lives dedicated to circumventing closed source bugs (be it
>Microsoft or Netscape.. I am glad they started from scratch with the Mozilla
>project).
>
>

-- 
Robin Becker