[plt-scheme] daemontools vs. plt-web-server vs. UTF-8 file names
My guess is that your shell's initialization script (.profile or
.bashrc) sets up the language encoding environment variables (LC_ALL,
LC_CTYPE and LANG) "correctly", while daemontool's environment does
not.
Jay
On Thu, Feb 5, 2009 at 8:49 PM, maxigas <maxigas at anargeek.net> wrote:
> hi!
>
> i think it's a daemontools issue, but i thought at least i mention it here as well:
>
> my Scheme script can read UTF-8 file names if started from terminal, but if started by
> daemontools, then it can't. it's on Debian etch. it's starting plt-web-server.
>
> /etc/stratobe is the service directory:
>
> ./run is:
>
> #!/bin/sh
> exec ./stratobe
>
> ./stratobe is:
>
> #!/bin/sh
> echo Stratobe firing up...
> cd /opt/bin/
> ./mz /opt/bin/code.ss
>
> maxigas
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://teammccarthy.org/jay
"The glory of God is Intelligence" - D&C 93