/[suikacvs]/messaging/manakai/lib/Message/MIME/Charset.pm
Suika

Diff of /messaging/manakai/lib/Message/MIME/Charset.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by wakaba, Mon Mar 25 10:17:04 2002 UTC revision 1.2 by wakaba, Fri Apr 19 12:00:36 2002 UTC
# Line 45  sub encode ($$) { Line 45  sub encode ($$) {
45    if (ref $ENCODER{$charset}) {    if (ref $ENCODER{$charset}) {
46      return (&{$ENCODER{$charset}} ($charset, $s), 1);      return (&{$ENCODER{$charset}} ($charset, $s), 1);
47    }    }
48    ($s, -1);    ($s, 0);
49  }  }
50    
51  sub decode ($$) {  sub decode ($$) {
# Line 53  sub decode ($$) { Line 53  sub decode ($$) {
53    if (ref $DECODER{$charset}) {    if (ref $DECODER{$charset}) {
54      return (&{$DECODER{$charset}} ($charset, $s), 1);      return (&{$DECODER{$charset}} ($charset, $s), 1);
55    }    }
56    ($s, -1);    ($s, 0);
57  }  }
58    
59  sub name_normalize ($) {  sub name_normalize ($) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24