Re: [naviserver-devel] ns_urldecode -charset

2012-10-31 Thread David Osborne
On 30 October 2012 20:39, Stephen Deasey wrote: > On Tue, Oct 30, 2012 at 7:59 PM, Stephen Deasey wrote: > > > > But the code points of iso88591 are a subset of utf8... > > Actually, this doesn't make sense. The byte encoding of code points > above 128 uses two bytes for utf8, but only one byte

Re: [naviserver-devel] ns_urldecode -charset

2012-10-30 Thread Gustaf Neumann
The changes are committed to bitbucket. see https://bitbucket.org/naviserver/naviserver/changeset/7b89b89802beebeb3db4a37c77f3d2d63c944494 all the best -gustaf On 30.10.12 16:03, David Osborne wrote: Hi Gustaf, Yes, that looks great. Along with the ns_urlencode equivalent I think it would so

Re: [naviserver-devel] ns_urldecode -charset

2012-10-30 Thread Stephen Deasey
On Tue, Oct 30, 2012 at 7:59 PM, Stephen Deasey wrote: > > But the code points of iso88591 are a subset of utf8... Actually, this doesn't make sense. The byte encoding of code points above 128 uses two bytes for utf8, but only one byte for iso88591. Looks like you need -charset. ---

Re: [naviserver-devel] ns_urldecode -charset

2012-10-30 Thread Stephen Deasey
On Tue, Oct 30, 2012 at 10:38 AM, David Osborne wrote: > Hi, > > We're currently in the process of porting a fairly large code base from > Aolserver to Naviserver for testing (using Naviserver v4.99.4 on Debian > Squeeze). > > One thing that has come up so far is that ns_urldecode seems to have dr

Re: [naviserver-devel] ns_urldecode -charset

2012-10-30 Thread David Osborne
Hi Gustaf, Yes, that looks great. Along with the ns_urlencode equivalent I think it would solve our problem. Thanks very much for the reply. - David On 30 October 2012 14:44, Gustaf Neumann wrote: > Dear David, > > would the following change help you? > > Before i finalize this change (do this

Re: [naviserver-devel] ns_urldecode -charset

2012-10-30 Thread Gustaf Neumann
Dear David, would the following change help you? Before i finalize this change (do this on encode as well, add to documentation, etc.), was this omitted on purpose in naviserver? -gustaf neumann --- a/nsd/urlencode.c Mon Oct 29 13:46:08 2012 +0100 +++ b/nsd/urlencode.c Tue Oct 30 15:41:0

[naviserver-devel] ns_urldecode -charset

2012-10-30 Thread David Osborne
Hi, We're currently in the process of porting a fairly large code base from Aolserver to Naviserver for testing (using Naviserver v4.99.4 on Debian Squeeze). One thing that has come up so far is that ns_urldecode seems to have dropped the "-charset" switch. I'm assuming it used to be present sin