/usr/share/doc/im/html/IM::EncDec.html is in im 1:151-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>
<body style="background-color: white">
<ul id="index">
<li><a href="#NAME">NAME</a></li>
<li><a href="#SYNOPSIS">SYNOPSIS</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a></li>
<li><a href="#EXAMPLES">EXAMPLES</a></li>
<li><a href="#COPYRIGHT">COPYRIGHT</a></li>
</ul>
<h1 id="NAME">NAME</h1>
<p>IM::EncDec - MIME header encoder/decoder</p>
<h1 id="SYNOPSIS">SYNOPSIS</h1>
<pre><code> use IM::EncDec;
$mime_header_encoded_string =
mime_encode_string(string, iso7bit, iso8bit);
$string =
mime_decode_string(mime_header_encoded_string);
$B_encoded_string = b_encode_string(string);
$string = b_decode_string(B_encoded_string);
$Q_encoded_string = q_encode_string(string);
$string = q_decode_string(Q_encoded_string);</code></pre>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<p>The <i>IM::EncDec</i> module is encoder/decoder for MIME header.</p>
<p>This modules is provided by IM (Internet Message).</p>
<h1 id="EXAMPLES">EXAMPLES</h1>
<pre><code> $_ = "JAPANESE (Kazuhiko Yamamoto)";
mime_encode_string($_, 'iso-2022-jp', 'iso-8859-1');
=> =?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=
(Kazuhiko Yamamoto)
s/\n[\t ]+//g;
print mime_decode_string($_), "\n";
=> "JAPANESE (Kazuhiko Yamamoto)"</code></pre>
<h1 id="COPYRIGHT">COPYRIGHT</h1>
<p>IM (Internet Message) is copyrighted by IM developing team. You can redistribute it and/or modify it under the modified BSD license. See the copyright file for more details.</p>
</body>
</html>
|