From: johan162 on
Recently I came across a problem with character encoding which only
appeared to happen if I started
my daemon with a bootscript. This means that I created a start script
in "/etc/init.d/" following the established
standard.

After some debugging I realized that all bootscripts include the file
"/etc/rc.status" where the first three lines are

# Do _not_ be fooled by non POSIX locale
LC_ALL=POSIX
export LC_ALL

This means that regardless of the system settings all bootscrips will
execute under a POSIX locale which doesn't
allow any extended characters.

The only reason I can see for this is to allow older and poorly
written daemons which doesn't handle a shell with UTF8 characters (for
example) to work well regardless of the system actual locale.

Is there any other reason for this ?