diff options
Diffstat (limited to 'scripts/multipart')
-rw-r--r-- | scripts/multipart/multipart.cgi.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/multipart/multipart.cgi.in b/scripts/multipart/multipart.cgi.in index fb13443..d009519 100644 --- a/scripts/multipart/multipart.cgi.in +++ b/scripts/multipart/multipart.cgi.in @@ -1,9 +1,12 @@ #!@PERL@ -if ($use_NKF = eval "use NKF;") { +eval { use NKF; }; +if (! $@) { + $use_NKF = 1; $CONV = "-e"; $MIME_DECODE = "-m -e"; } else { + $use_NKF = 0; # $CONV = "w3m -dump -e"; $CONV = "@NKF@ -e"; $MIME_DECODE = "@NKF@ -m -e"; |