I got some problems in running the "Hello Tutorial" under FreeBSD 3.2 and Mandrake Linux 6.0. When I enter the following link with Chinese chars into Netscape(Win95)'s ulr: http://192.168.1.19:8080/Hello/sayHello?username=TurboLinux+3.0.2+%D6%D0%CE%... It pops up a "save as windows". But it works fine in www.zope.org. http://www.zope.org/Community/InvestorsCorner/Samples/Hello/sayHello?usernam... It seems something wrong with the Python 1.5.2, may be missing some modules, but I don't know how to fix it. Pls help, Thanks Jason Wong ___________________________________________________________________________ Get your hongkong.com freemail at http://www.hongkong.com Free newsletters center at http://post4u.hongkong.com
Hi, On 5 Aug 1999 07:35:34 -0000 kwwong63@hongkong.com wrote:
I got some problems in running the "Hello Tutorial" under FreeBSD 3.2 and Mandrake Linux 6.0.
When I enter the following link with Chinese chars into Netscape(Win95)'s ulr: http://192.168.1.19:8080/Hello/sayHello?username=TurboLinux+3.0.2+%D6%D0%CE%...
It pops up a "save as windows".
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. --------------- Atsuo Ishimoto ishimoto@axissoft.co.jp
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
On Thu, 05 Aug 1999 13:31:24 +0300 Hannu Krosing <hannu@trust.ee> wrote:
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.
Yes,,,,, but do I need to set the mime-type manually? all the page I write? I'm too lazy to do so ;) Writing this code in standard_html_header or such may better, but still dull and error-prone job. ----- Atsuo Ishimoto ishimoto@axissoft.co.jp
participants (3)
-
Atsuo Ishimoto -
Hannu Krosing -
kwwong63ï¼ hongkong.com