Re: [naviserver-devel] [naviserver-commits] modules/nsdbpg Makefile, 1.3, 1.4

2007-05-23 Thread Stephen Deasey
On 5/23/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: > > Log Message: > Updateed makefiles to conditionally set NAVISERVER env variable > > ! NAVISERVER = /usr/local/ns > > MODNAME= nsdbpg > --- 30,36 > # > > ! ifndef NAVISERVER > ! NAVISERVER = /usr/local/ns > ! endif These are

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Bernd Eidenschink
Hi, isn't that still an open wound, the organisation of the encoding part in general? e.g., for a current project, we use the server the way Zoran said once on the list: use it out of the box and rely on the Unicode encoding. The strange thing is, that, when on the other hand explicitely verb

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Neophytos Demetriou
Try: ns_return 200 text/html [encoding system]-[string repeat X 1] With: ns_paramhackcontenttype true ns_paramoutputcharset utf-8 ns_paramurlcharset utf-8 ns_param preferredcharsets { utf-8 iso8859-1 } and then try the same

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Stephen Deasey
On 5/23/07, Neophytos Demetriou <[EMAIL PROTECTED]> wrote: > Try: > > ns_return 200 text/html [encoding system]-[string repeat X 1] > > With: > > ns_paramhackcontenttype true > ns_paramoutputcharset utf-8 > ns_paramurlcharset utf-8 > ns_par

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Neophytos Demetriou
Hi Stephen, > Just to be clear though for this particular case: when outputcharset > is not set in the config file it works, and when it is it doesn't -- > do you mean just that your browser shows a blank page or have you > observed something more specific, like an incorrect Content-Length > heade

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Neophytos Demetriou
Please also note that it returns 0 bytes: [ <=> ] 0 --.--K/s 09:34:27 (0.00 B/s) - `index.html' saved [0] - Neophytos Neophytos Demetriou wrote: > Hi Stephen, > >> Just to be clear though for this particular case: when outputcharset >> is not set in the config file it wo

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Zoran Vasiljevic
Am 23.05.2007 um 11:36 schrieb Neophytos Demetriou: > PS. Please note that I had to disable nstrace (i.e. I'm using init.tcl > from 4.99.1 and removed the nstrace file) but I don't see how the two > can be related. They are not related at all. BTW: I plan (soon) to rewrite that problematic part

Re: [naviserver-devel] [naviserver-commits] modules/nsdbpg Makefile, 1.3, 1.4

2007-05-23 Thread Vlad Seryakov
Yes, no harm here but it is just more clear how those variables are assigned and what are defaults. Stephen Deasey wrote: > On 5/23/07, Vlad Seryakov <[EMAIL PROTECTED]> wrote: >> Log Message: >> Updateed makefiles to conditionally set NAVISERVER env variable >> >> ! NAVISERVER = /usr/local/ns >>

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Vlad Seryakov
Just tested latest CVS version, it works with outputcharset just fine Neophytos Demetriou wrote: > Try: > > ns_return 200 text/html [encoding system]-[string repeat X 1] > > With: > > ns_paramhackcontenttype true > ns_paramoutputcharset utf-8 > ns_param

Re: [naviserver-devel] NaviServer IOBUFSZ

2007-05-23 Thread Vlad Seryakov
.adp with ns_apd_puts works, but .tcl with ns_return does not telnet 0 8080 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. GET /a.tcl HTTP/1.0 HTTP/1.0 200 OK MIME-Version: 1.0 Accept-Ranges: bytes Date: Thu, 24 May 2007 01:27:55 GMT Server: NaviServer/4.99.2 Content-Type: text/plain