Show quoted text> -----Original Message-----
> From: Michael_Schilli via RT [mailto:bug-Log-Log4perl@rt.cpan.org]
> Sent: Wednesday, May 30, 2012 6:41 PM
> To: meir@guttman.co.il
> Subject: [rt.cpan.org #76827] Log::Log4perl fails to initialized if
> configuration file in UTF-8 has a BOM
Show quoted text> As far as I know (but I could be wrong), ActivePerl can't install
> tarballs. I know that strawberryperl can (strawberryperl.com) install
> tarballs on Windows. Or any Linux-System you could try this on instead?
Dear Mike,
Sorry, no Linux box is available to me, both physically and practice-wise.
However, I eventually found and applied the procedure as outlined under the "CPAN" heading of
http://jenda.krynicky.cz/perl/CPAN&ppm.html. The first step response was:
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Checking if your kit is complete...
Looks good
Writing Makefile for Log::Log4perl
Is that OK, or do I need to get and install 'gcc'? (I couldn't find any 'c' code in your distribution.)
Anyway, I just continued and the rest of the steps seemed to work.
I modified my program as instructed using the "Log::Log4perl::Config->utf( 1 );" construct.
I then "saved-as" my configuration file adding a BOM. Mind you, that is the *only* UTF-8 part of the configuration file.
Now the program runs fine with the BOM-ed configuration file.
Thanks!
Meir