Re: Encode dependency

2009-02-13 Thread Zefram
Gisle Aas wrote: Do you know if decoding always fails with this version of if it's only when \x{FFFD is substituted? Decoding generally works, it's just substitution that goes wrong: $ for pver in 5.8.0 5.8.9; do perl$pver -MEncode -MData::Dumper -lwe

Re: Encode dependency

2009-02-13 Thread Gisle Aas
On Thu, Feb 12, 2009 at 22:18, Zefram zef...@fysh.org wrote: I suggest a three-part strategy: 0. Warn at build time if the perl version is 5.8 or later (so Encode is   possible) but Encode is either absent or exhibits this bug. 1. If decode() returns undef, treat it as an error.  This means

Re: Encode dependency

2009-02-12 Thread Gisle Aas
On Wed, Feb 11, 2009 at 23:10, Zefram zef...@fysh.org wrote: LWP has a problem with older versions of Encode.  With Encode version 1.75 (which is the version included in a base perl-5.8.0), this test failure occurs: base/message..NOK 99/118# Test 99 got: UNDEF (base/message.t at