[interchange] Replace broken check for Encode in [email] tag by looking at MINIVEND_DISABLE_UTF8 environment varia
Stefan Hornburg <[email protected]>
| Newsgroups | gmane.comp.web.interchange.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit f6a3f7f56c2897fac19b8e53f22f6830c907d7d4 Author: Stefan Hornburg (Racke) <[email protected]> Date: Thu Sep 13 16:46:07 2012 +0200 Replace broken check for Encode in [email] tag by looking at MINIVEND_DISABLE_UTF8 environment variable. code/UserTag/email.tag | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) --- diff --git a/code/UserTag/email.tag b/code/UserTag/email.tag index 765c848..41ab62a 100644 --- a/code/UserTag/email.tag +++ b/code/UserTag/email.tag @@ -17,9 +17,8 @@ BEGIN { require MIME::Lite; $Have_mime_lite = 1; }; - eval { - require Encode::PERLQQ; - $Have_encode = 1; + unless ($ENV{MINIVEND_DISABLE_UTF8}) { + $Have_encode = 1; }; }