/[cvs]/nfo/php/libs/org.netfrag.glib/Data/Encode.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.glib/Data/Encode.php

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

revision 1.3 by joko, Wed Jun 16 15:17:03 2004 UTC revision 1.4 by joko, Sun Jun 20 23:01:37 2004 UTC
# Line 12  Line 12 
12  //    $Id$  //    $Id$
13  //    -------------------------------------------------------------------------  //    -------------------------------------------------------------------------
14  //    $Log$  //    $Log$
15    //    Revision 1.4  2004/06/20 23:01:37  joko
16    //    fix: from/to UTF-8 now also handles plain strings as arguments
17    //
18  //    Revision 1.3  2004/06/16 15:17:03  joko  //    Revision 1.3  2004/06/16 15:17:03  joko
19  //    now also en-/decodes hash-keys  //    now also en-/decodes hash-keys
20  //  //
# Line 105  class Data_Encode { Line 108  class Data_Encode {
108            $result[$key] = $val;            $result[$key] = $val;
109          }          }
110        }        }
111        } elseif (is_string($payload)) {
112          $this->_utf8_2_iso_scalar($payload);
113          $result = $payload;
114      }      }
115    }    }
116    
# Line 119  class Data_Encode { Line 125  class Data_Encode {
125            $result[$key] = $val;            $result[$key] = $val;
126          }          }
127        }        }
128        } elseif (is_string($payload)) {
129          $this->_iso_2_utf8_scalar($payload);
130          $result = $payload;
131      }      }
132    }    }
133        

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed