Another thing you could do is to set tcl's default encoding to utf-8, so
that the filenames passed to Ns_ConnReturnFile are the same encoding as
what the core tcl commands do.
Set the default encoding with
encoding system utf-8
in some tcl file. It's possible this could have some side effect
Howdy,
Looking at the code, ns_returnfile passes the filename through to the core
Ns_ConnReturnFile without any of the care that core Tcl does handling
filenames. You may be able to replace ns_returnfile with ns_returnfp, passing
a file handle returned from Tcl's open command which should be
Just a guess here, but by default, TCL is compiled with Latin-1 encoding. This
causes some issues when you are trying to do certain things in utf-8, even if
you set all possible TCL config variables to use the UTF-8 charset. You could
attempt to recompile TCL with
--with-encoding utf-8
B
Hi all
at ]project-open[ we currently use AOLserver 4.5.0 with OpenACS
5.6.0 on CentOS release 5.3 (Final)
We suddenly encountered the problem that ns_returnfile can't find a
file which filname contains special chars such as 'umlaute'
(ä, ö, etc.)
---
convmv tells me t