utf8 Flag in mod_perl

2004-10-05 Thread David Wheeler
Greetings, I've been having some discussions with the mod_perl developers about preserving the utf8 flag on Perl strings in various operations. These include escape_html(), which seems to remove the utf8 flag (or at least to totally hork a string with the flag turned on), and APR::Table. I

Re: Encode.pm

2004-10-18 Thread David Wheeler
On Oct 18, 2004, at 11:16 AM, Shoenfelt, Todd wrote: I need to create files programmatically containing Unicode data for Quality Assurance testing, but the current version of Encode.pm requires v5.7.3. Is there a version of Encode.pm that works with v5.6.1? No, but you might be able to use Text::

Layers Issue in SVN::Notify

2006-07-10 Thread David Wheeler
Greetings fellow Perlers, I've had some complaints for a while now about non-ASCII characters not properly showing up in emails sent by my SVN::Notify module. Last week Éric Cholet figured out how to get it to work: He simply set the LANG environment variable to fr_FR.ISO8859-1. So the pr

Re: Layers Issue in SVN::Notify

2006-07-11 Thread David Wheeler
On Jul 11, 2006, at 19:58, Nicholas Clark wrote: I doubt that perl's at fault. What are you piping the data into, and what does it think of $LANG in the environment? I'm piping it to sendmail. Éric tried adding: BEGIN { $ENV{LANG} = 'C' } But it made no difference. I've just sent him a pat

Re: Layers Issue in SVN::Notify

2006-07-31 Thread David Wheeler
On Jul 11, 2006, at 19:58, Nicholas Clark wrote: I doubt that perl's at fault. What are you piping the data into, and what does it think of $LANG in the environment? It doesn't, since it's usually running under Apache (it's in a Subversion process). I've added code just before the system cal