Dave Bauer wrote:

I am testing the WebDAV code I am working on for AOLserver 4 using the
litmus test suite.

One of the tests PUTs a UTF-8 filename. The header looks like this:

PUT /file-storage/litmus/res-%e2%82%ac HTTP/1.1

If I set the filename part to a string and ns_log it I get this in the
log:

filename is "res-<E2><82><AC>"

The code that creates the file looks like this:

set fd [open $filename w+]
ns_writecontent $fd

The file in my filesystem ends up as "res-?"

I am using linux. The system ecoding is iso8859-1.

If I write the filename into my postgresql database it is recorded fine
and I can get the filename back out using the filename passed by litmus.


In postgresql it looks like this:

res-€

If that doesn't come through the email its on the web at
http://www.thedesignexperience.org:8088/fs/index?folder_id=519

Dave


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to