I had initially some problems with encoding in sup (accented chars were not displayed). So I have looked in lib/sup.rb and I have seen that sup tries to determine the $encoding from the $ctype, determined on its turn by LC_CTYPE and LANG. This failed in my case (I do not know why: my $LANG is it_IT and my $LC_ALL - implying $LC_CTYPE - is [EMAIL PROTECTED]).
Anyway I guess that sup could/should use the environment variable $CHARSET, when it is defined, and resort to other methods only if $CHARSET is not defined. Or at least I have been able to fix my issue with encodings by changing the 55th line of lib/sup.rb in the following way: $encoding = ENV["CHARSET"] Cheers Giorgio _______________________________________________ sup-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/sup-talk
