Skip to Content.
Sympa Menu

en - Re: [sympa-users] sympa-archive.service

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: IKEDA Soji <address@concealed>
  • To: David Carter <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] sympa-archive.service
  • Date: Thu, 5 Aug 2021 09:00:50 +0900

David, sorry for delayed response.

On Wed, 4 Aug 2021 17:52:41 +0100
David Carter <address@concealed> wrote:

> On 04/08/2021 17:18, David Carter wrote:
>
> > I think that there is still an explicit dependency on
> > Encode::ISO2022JP2, given lib/MIME/Charset.pm:
>
> (Sorry about the stream of consciousness as I discover new things)
>
> I infer that the following change in MIME-Charset-1.011.3 is
> significant. Is this all that I actually need?
>
> diff --git a/lib/MIME/Charset.pm b/lib/MIME/Charset.pm
> index cf41766..6ba6670 100644
> --- a/lib/MIME/Charset.pm
> +++ b/lib/MIME/Charset.pm
> @@ -132,7 +132,7 @@ if (USE_ENCODE) {
> }
> }
>
> -$VERSION = '1.011.2';
> +$VERSION = '1.011.3';
>
> ######## Private Attributes ########
>
> @@ -460,8 +460,7 @@ sub _find_encoder($$) {
> foreach my $s (@{$spec}) {
> ($name, $module) = @{$s};
> if ($module) {
> - eval "use $module;";
> - next if $@;
> + next unless eval "require $module;";
> }
> $encoder = Encode::find_encoding($name);
> last if ref $encoder;

Yes, that's all you need to do to avoid the problem.


Regards,
-- Soji


--
株式会社 コンバージョン
ITソリューション部 システムソリューション1グループ 池田荘児
e-mail address@concealed
https://www.conversion.co.jp/



Archive powered by MHonArc 2.6.19+.

Top of Page