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 |
// |
// |
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 |
|
|
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 |
|
|