[Zope] Chinese Chars in Zope 2.0b1

Hannu Krosing hannu@trust.ee
Thu, 05 Aug 1999 13:31:24 +0300


Atsuo Ishimoto wrote:
> 
> I have same problem with you(In my case, I use Japanese text).
> It seems that Zope2.0b1 set mime-type as application/octet-stream if
> html page contains invalid ascii character. I guess this is a reason why
> Netscape shows download dialog.
> 
> This is not a useful feature for non-latin language people. I wish a option
> setting to avoid this behavior.

You can set the mime-type using the RESPONSE object:

<!--#call "RESPONSE.setHeader('Content-type','text/html')-->

to override Zope-s default content-type determination.

------------
Hannu