[ic] [interchange] Eval the Encode::PERLQQ module, to avoid errors when it and Encode are not present

Stefan Hornburg (Racke) racke at linuxia.de
Thu Sep 13 14:50:23 UTC 2012

On 06/28/2012 07:08 PM, Josh Lavin wrote:
> Quoting Jon Jensen (jon at endpoint.com):
>> On Wed, 27 Jun 2012, David Christensen wrote:
>>>> +	eval {
>>>> +		require Encode::PERLQQ;
>>>> +		$Have_encode = 1;
>>>> +	};
>>> I believe PERLQQ is a symbol (constant) in the Encode package, not
>>> a package itself, so I don't think this is actually testing for
>>> what's intended, and would in fact never succeed. Or am I missing
>>> something?
>> Sure looks that way to me in a quick isolated test script.
>> Josh, did you ever see $Have_encode get set?
> No, I don't use it with that, so it would be great to have someone test.
> This was just my feeble attempt to make it work for me, and hope to not
> break anything for others. :-)

You did, as this switched off UTF-8 encoding in [email] unconditionally.
Fixed now by commit f6a3f7f56c2897fac19b8e53f22f6830c907d7d4.


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list